Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007715/0.0007715, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009624/0.0009624, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9225/0.9225, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.48e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00255/0.002575, allocations: 1.529 MB / 0.952 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003648, allocations: 0.795 MB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.305e-05/0.003721, allocations: 0 / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.00376, allocations: 7.875 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.003871, allocations: 19.8 kB / 0.9528 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.004533, allocations: 147.4 kB / 0.9529 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.004666, allocations: 107.6 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.004757, allocations: 8.234 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.004917, allocations: 75.73 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.004978, allocations: 35.89 kB / 0.9531 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.004995, allocations: 8 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.00521, allocations: 147.7 kB / 0.9533 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.005233, allocations: 15.98 kB / 0.9533 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.005271, allocations: 27.91 kB / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.005503, allocations: 191.5 kB / 0.9535 GB, free: 416 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005506, allocations: 0 / 0.9535 GB, free: 416 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005508, allocations: 0 / 0.9535 GB, free: 416 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.005512, allocations: 7.938 kB / 0.9535 GB, free: 408 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005753/0.006088, allocations: 426.8 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.006125, allocations: 11.97 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.006156, allocations: 34.75 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.006337, allocations: 36.86 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.006532, allocations: 137.6 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.006545, allocations: 4.375 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.006558, allocations: 12.38 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.006698, allocations: 74.2 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.006705, allocations: 4.188 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.006717, allocations: 4.125 kB / 0.9542 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.006721, allocations: 0 / 0.9542 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.968e-05/0.006821, allocations: 55.91 kB / 0.9543 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.007209, allocations: 279.9 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.007359, allocations: 86.59 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.007412, allocations: 36.84 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.007431, allocations: 96 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.007574, allocations: 103.3 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.007575, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002994/0.007874, allocations: 185.5 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.007913, allocations: 55.39 kB / 0.955 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.008004, allocations: 136.6 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.008017, allocations: 29.7 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.008062, allocations: 92.14 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.008085, allocations: 35.67 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.008125, allocations: 37.7 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.008205, allocations: 318.8 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/0.008254, allocations: 27.98 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.00832, allocations: 76.08 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.008437, allocations: 105 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00844, allocations: 0 / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001555/0.008595, allocations: 141.5 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.008607, allocations: 7.938 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008612, allocations: 0 / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.008623, allocations: 4 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.008689, allocations: 19.92 kB / 0.956 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.008696, allocations: 8 kB / 0.956 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.008746, allocations: 19.97 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.008757, allocations: 11.94 kB / 0.956 GB, free: 13.59 MB / 0.9167 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.193e-05/0.008839, allocations: 129.7 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.008852, allocations: 7.953 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.009081, allocations: 162.4 kB / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.009084, allocations: 4 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.009089, allocations: 0 / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.009092, allocations: 144 / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.009465, allocations: 417.3 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009466, allocations: 0 / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.009503, allocations: 19.98 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.009505, allocations: 0 / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.009514, allocations: 0 / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.009517, allocations: 4 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.009519, allocations: 3.984 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.009706, allocations: 250.2 kB / 0.957 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.009718, allocations: 7.953 kB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.009734, allocations: 4 kB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.292e-05/0.009787, allocations: 15.98 kB / 0.957 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.009825, allocations: 11.92 kB / 0.957 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.009846, allocations: 4 kB / 0.957 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.009893, allocations: 105.6 kB / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009893, allocations: 0 / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002408/0.01013, allocations: 39.94 kB / 0.9571 GB, free: 12.35 MB / 0.9167 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0005861/0.01072, allocations: 0.8611 MB / 0.958 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.0109, allocations: 87.89 kB / 0.9581 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.0109, allocations: 0 / 0.9581 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.01097, allocations: 51.91 kB / 0.9581 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.01118, allocations: 19.92 kB / 0.9581 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.0124, allocations: 1.648 MB / 0.9597 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.583e-05/0.01246, allocations: 85.44 kB / 0.9598 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.0125, allocations: 12.48 kB / 0.9598 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.01255, allocations: 36.48 kB / 0.9599 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.01255, allocations: 0 / 0.9599 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.03597, allocations: 4.136 MB / 0.9639 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/6.947, allocations: 5.828 kB / 0.9639 GB, free: 5.426 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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: 10.99246939830482]