Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 196 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.408/2.408, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001692, allocations: 66.7 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.237, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002602/0.2396, allocations: 1.525 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2409, allocations: 0.7673 MB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.241, allocations: 0 / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.241, allocations: 7.922 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.087e-05/0.2411, allocations: 15.81 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.2416, allocations: 123.6 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2417, allocations: 91.7 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.2418, allocations: 11.98 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.2419, allocations: 43.84 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.2419, allocations: 35.84 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.242, allocations: 8 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.2421, allocations: 99.84 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.2422, allocations: 27.89 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.2422, allocations: 35.8 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.2425, allocations: 147.9 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2425, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2425, allocations: 7.984 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2425, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000732/0.2432, allocations: 476.2 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2433, allocations: 12.03 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.2433, allocations: 30.75 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.2434, allocations: 8.844 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.2435, allocations: 184.2 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.2436, allocations: 42.2 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.2436, allocations: 8.359 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.2438, allocations: 73.59 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2438, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2439, allocations: 7.984 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2439, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.244, allocations: 47.91 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.2446, allocations: 332.7 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.2448, allocations: 62.55 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.2449, allocations: 44.83 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.2449, allocations: 7.938 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.2451, allocations: 95.39 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.2451, allocations: 0 / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004482/0.2456, allocations: 165.5 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.2456, allocations: 59.41 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2458, allocations: 132.1 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2458, allocations: 29.7 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.2458, allocations: 96.36 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.2459, allocations: 27.8 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.2459, allocations: 29.7 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2461, allocations: 326.8 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2462, allocations: 31.97 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.2463, allocations: 73.08 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.2465, allocations: 109 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2465, allocations: 0 / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002884/0.2468, allocations: 133.4 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.2469, allocations: 4 kB / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2469, allocations: 8.125 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2469, allocations: 0 / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.247, allocations: 19.92 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.247, allocations: 7.984 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2471, allocations: 15.89 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2471, allocations: 8 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.2473, allocations: 121.8 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.2473, allocations: 11.91 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.2473, allocations: 12.72 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2473, allocations: 3.938 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2473, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.2473, allocations: 4.359 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.2479, allocations: 434.1 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.248, allocations: 4 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.915e-05/0.248, allocations: 11.98 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.248, allocations: 4 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2481, allocations: 0 / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.2481, allocations: 7.922 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2481, allocations: 0 / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.2484, allocations: 227.3 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.2485, allocations: 89.02 kB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2485, allocations: 7.984 kB / 1.07 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2486, allocations: 11.94 kB / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.2487, allocations: 15.97 kB / 1.07 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.2487, allocations: 4 kB / 1.07 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.628e-05/0.2487, allocations: 97.23 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2488, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002723/0.249, allocations: 43.98 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008239/0.2499, allocations: 0.821 MB / 1.071 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.2501, allocations: 99.81 kB / 1.071 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2502, allocations: 0 / 1.071 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.2503, allocations: 47.91 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.2505, allocations: 19.92 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.2524, allocations: 1.614 MB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2527, allocations: 0.7 MB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.043e-05/0.2527, allocations: 8.656 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.2528, allocations: 27.42 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2528, allocations: 0 / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.653/5.905, allocations: 3.081 MB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/15.91, allocations: 4 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches