Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.001263/0.001263, allocations: 105.5 kB / 16.45 MB, free: 6.453 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.001264/0.001264, allocations: 196.5 kB / 19.41 MB, free: 3.645 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.834/2.834, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.78 kB / 1.104 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3523, allocations: 168.7 MB / 1.269 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003138/0.3555, allocations: 1.517 MB / 1.27 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3569, allocations: 0.7568 MB / 1.271 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.357, allocations: 4 kB / 1.271 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.357, allocations: 11.86 kB / 1.271 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.679e-05/0.3571, allocations: 19.8 kB / 1.271 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.3577, allocations: 127.6 kB / 1.271 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.3579, allocations: 83.77 kB / 1.271 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.358, allocations: 11.94 kB / 1.271 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.3581, allocations: 43.77 kB / 1.271 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.3581, allocations: 35.84 kB / 1.271 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3582, allocations: 8 kB / 1.271 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.3584, allocations: 103.8 kB / 1.271 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.3584, allocations: 27.95 kB / 1.271 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.3585, allocations: 35.8 kB / 1.271 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.3588, allocations: 147.8 kB / 1.272 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3588, allocations: 0 / 1.272 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.113e-06/0.3588, allocations: 0 / 1.272 GB, free: 10 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3588, allocations: 0 / 1.272 GB, free: 10 MB / 0.9825 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.000806/0.3596, allocations: 466.3 kB / 1.272 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3597, allocations: 11.97 kB / 1.272 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.3597, allocations: 34.75 kB / 1.272 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.3597, allocations: 8.891 kB / 1.272 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.36, allocations: 188.2 kB / 1.272 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.36, allocations: 4.375 kB / 1.272 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.36, allocations: 4.375 kB / 1.272 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.3602, allocations: 77.77 kB / 1.272 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3602, allocations: 0 / 1.272 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3602, allocations: 0 / 1.272 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3602, allocations: 4 kB / 1.272 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3604, allocations: 47.91 kB / 1.272 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.3609, allocations: 312.7 kB / 1.273 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3611, allocations: 58.55 kB / 1.273 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.3612, allocations: 32.88 kB / 1.273 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.3612, allocations: 8 kB / 1.273 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.3614, allocations: 87.36 kB / 1.273 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.3614, allocations: 0 / 1.273 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004149/0.3619, allocations: 161.5 kB / 1.273 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.3619, allocations: 55.41 kB / 1.273 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.362, allocations: 130.9 kB / 1.273 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3621, allocations: 37.7 kB / 1.273 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.3621, allocations: 88.52 kB / 1.273 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.3622, allocations: 27.78 kB / 1.273 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.3622, allocations: 33.7 kB / 1.273 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3624, allocations: 322.8 kB / 1.274 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.3625, allocations: 31.98 kB / 1.274 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3626, allocations: 71.2 kB / 1.274 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.3628, allocations: 105 kB / 1.274 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3628, allocations: 0 / 1.274 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002522/0.363, allocations: 133.5 kB / 1.274 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.363, allocations: 5.875 kB / 1.274 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.363, allocations: 0 / 1.274 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3631, allocations: 4 kB / 1.274 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3632, allocations: 19.92 kB / 1.274 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3632, allocations: 0 / 1.274 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3633, allocations: 19.94 kB / 1.274 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.3633, allocations: 8.062 kB / 1.274 GB, free: 7.172 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.0001053/0.3634, allocations: 124 kB / 1.274 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.3634, allocations: 7.953 kB / 1.274 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.3638, allocations: 149.9 kB / 1.274 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3638, allocations: 4 kB / 1.274 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3638, allocations: 0 / 1.274 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3638, allocations: 0 / 1.274 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.3645, allocations: 442.2 kB / 1.275 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3645, allocations: 0 / 1.275 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.3645, allocations: 11.98 kB / 1.275 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3645, allocations: 0 / 1.275 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3645, allocations: 4 kB / 1.275 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3645, allocations: 3.938 kB / 1.275 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3645, allocations: 0 / 1.275 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.3649, allocations: 231.4 kB / 1.275 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.3651, allocations: 89 kB / 1.275 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3651, allocations: 384 / 1.275 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3653, allocations: 15.92 kB / 1.275 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.3653, allocations: 11.98 kB / 1.275 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3653, allocations: 4 kB / 1.275 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.3654, allocations: 103.2 kB / 1.275 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3654, allocations: 0 / 1.275 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003131/0.3657, allocations: 43.92 kB / 1.275 GB, free: 5.84 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 (12): * Single equations (assignments): 9 * 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.0009077/0.3666, allocations: 0.822 MB / 1.276 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3668, allocations: 79.89 kB / 1.276 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3668, allocations: 0 / 1.276 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3669, allocations: 43.91 kB / 1.276 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3672, allocations: 23.91 kB / 1.276 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.3693, allocations: 1.616 MB / 1.278 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.3697, allocations: 0.6924 MB / 1.278 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.722e-05/0.3698, allocations: 8.422 kB / 1.278 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.3698, allocations: 31.42 kB / 1.278 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3698, allocations: 0 / 1.278 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.3974, allocations: 3.112 MB / 1.282 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.665, allocations: 11.09 kB / 1.282 GB, free: 15.39 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.204402293078601]