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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 106.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.931/2.931, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 63.89 kB / 1.104 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8347, allocations: 168.7 MB / 1.269 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003178/0.8378, allocations: 1.537 MB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.8394, allocations: 0.7611 MB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.8395, allocations: 3.938 kB / 1.271 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.8395, allocations: 11.81 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.8397, allocations: 19.84 kB / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006533/0.8403, allocations: 123.6 kB / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.8405, allocations: 91.7 kB / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.8406, allocations: 11.94 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.8407, allocations: 47.83 kB / 1.271 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.8408, allocations: 35.84 kB / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.8409, allocations: 8 kB / 1.271 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.8411, allocations: 103.8 kB / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.8411, allocations: 23.91 kB / 1.271 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.8412, allocations: 35.84 kB / 1.271 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.8415, allocations: 157.2 kB / 1.272 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.8415, allocations: 0 / 1.272 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8415, allocations: 0 / 1.272 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8415, allocations: 0 / 1.272 GB, free: 2.266 MB / 0.9669 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.0009477/0.8425, allocations: 486.2 kB / 1.272 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.8425, allocations: 8.031 kB / 1.272 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.333e-05/0.8426, allocations: 34.75 kB / 1.272 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.8427, allocations: 16.88 kB / 1.272 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.8428, allocations: 172.3 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.296e-05/0.8429, allocations: 38.25 kB / 1.272 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.843, allocations: 8.375 kB / 1.272 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.8432, allocations: 89.45 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8432, allocations: 0 / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.8432, allocations: 0 / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.8432, allocations: 0 / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.8434, allocations: 47.97 kB / 1.272 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.844, allocations: 328.8 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.8443, allocations: 66.48 kB / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.8444, allocations: 36.83 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.8444, allocations: 0 / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.8447, allocations: 99.3 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.8447, allocations: 0 / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0005661/0.8453, allocations: 165.5 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.8454, allocations: 59.34 kB / 1.273 GB, free: 444 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.8455, allocations: 130.1 kB / 1.273 GB, free: 300 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.8455, allocations: 33.7 kB / 1.273 GB, free: 260 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.8456, allocations: 100.3 kB / 1.273 GB, free: 152 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.8456, allocations: 27.94 kB / 1.273 GB, free: 124 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.8457, allocations: 29.7 kB / 1.273 GB, free: 88 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.8459, allocations: 326.8 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.846, allocations: 27.97 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.8461, allocations: 78.5 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.8464, allocations: 105 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.8464, allocations: 0 / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003185/0.8467, allocations: 133.5 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8467, allocations: 4 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.8467, allocations: 4 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8467, allocations: 0 / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.8469, allocations: 24.03 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.8469, allocations: 8 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.847, allocations: 19.94 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.847, allocations: 4 kB / 1.274 GB, free: 15.32 MB / 0.9825 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.0001217/0.8471, allocations: 129.7 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.8472, allocations: 7.953 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.8472, allocations: 16.7 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.8472, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8472, allocations: 4 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.8472, allocations: 3.938 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.8479, allocations: 418.8 kB / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.8479, allocations: 0 / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.753e-05/0.848, allocations: 11.98 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.848, allocations: 4.094 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.848, allocations: 7.922 kB / 1.275 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.848, allocations: 7.938 kB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.848, allocations: 0 / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.8484, allocations: 227.3 kB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.8485, allocations: 85.06 kB / 1.275 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.8485, allocations: 7.984 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.8486, allocations: 19.92 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.8487, allocations: 11.98 kB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.8487, allocations: 4 kB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.703e-05/0.8488, allocations: 100.6 kB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8488, allocations: 0 / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003524/0.8491, allocations: 51.86 kB / 1.275 GB, free: 14.11 MB / 0.9825 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.001032/0.8502, allocations: 0.8142 MB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.8505, allocations: 88.06 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8505, allocations: 4.062 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.8506, allocations: 43.91 kB / 1.276 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.8509, allocations: 18.5 kB / 1.276 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.8531, allocations: 1.645 MB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.8535, allocations: 0.6924 MB / 1.278 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.661e-05/0.8535, allocations: 8.656 kB / 1.278 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.8536, allocations: 35.42 kB / 1.279 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.8536, allocations: 0 / 1.279 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.8798, allocations: 3.138 MB / 1.282 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/9.103, allocations: 17 kB / 1.282 GB, free: 7.594 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.210188732016832]