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.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.001449/0.001449, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001479/0.001479, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.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.494/2.494, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 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.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 0.001854/0.001854, allocations: 67.89 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8154, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002275/0.8177, allocations: 1.556 MB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.8188, allocations: 0.7608 MB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.8189, allocations: 8.781 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.8189, allocations: 5.016 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.498e-05/0.819, allocations: 20.09 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.8195, allocations: 128.8 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.8196, allocations: 101.3 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.71e-05/0.8197, allocations: 5.344 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.8197, allocations: 48.94 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.8198, allocations: 48.05 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.8198, allocations: 8.375 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.82, allocations: 111.6 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.82, allocations: 20.75 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.8201, allocations: 44.64 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.8203, allocations: 154.1 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8203, allocations: 1.062 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8203, allocations: 0 / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.8203, allocations: 0 / 1.274 GB, free: 5.848 MB / 0.9981 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.0005933/0.8209, allocations: 0.4948 MB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.8209, allocations: 10.06 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.821, allocations: 34.16 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.821, allocations: 17.8 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.8211, allocations: 183 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.8211, allocations: 4.188 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.8211, allocations: 8.875 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.8213, allocations: 80.45 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.8213, allocations: 0 / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8213, allocations: 0.8438 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.8213, allocations: 7.797 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.8215, allocations: 53.72 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.8219, allocations: 329.3 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.8221, allocations: 74.69 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.8222, allocations: 41.73 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.8222, allocations: 5.094 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.8224, allocations: 91.55 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.8224, allocations: 0 / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003972/0.8228, allocations: 176.8 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.8228, allocations: 61.62 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.8229, allocations: 139.9 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.8229, allocations: 31.88 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.823, allocations: 96.52 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.823, allocations: 26.42 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.823, allocations: 31.97 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.8231, allocations: 324.1 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.8232, allocations: 29.25 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/0.8232, allocations: 76.45 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.8234, allocations: 111.7 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8234, allocations: 0 / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002341/0.8236, allocations: 136.8 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.8237, allocations: 5.156 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8237, allocations: 1.625 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8237, allocations: 1.625 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.8238, allocations: 21.22 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8238, allocations: 2.344 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.521e-05/0.8239, allocations: 16.94 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.8239, allocations: 11.94 kB / 1.277 GB, free: 3.586 MB / 0.9981 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 6.267e-05/0.824, allocations: 123.8 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.824, allocations: 16.56 kB / 1.277 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.8243, allocations: 162.5 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8243, allocations: 3.766 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8243, allocations: 0 / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8243, allocations: 8.906 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.8248, allocations: 449 kB / 1.278 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8248, allocations: 0 / 1.278 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.8248, allocations: 11.33 kB / 1.278 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8248, allocations: 1.438 kB / 1.278 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.8249, allocations: 3.344 kB / 1.278 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8249, allocations: 4.75 kB / 1.278 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8249, allocations: 0 / 1.278 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.8251, allocations: 254.4 kB / 1.278 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.8251, allocations: 85.47 kB / 1.278 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.8252, allocations: 9.547 kB / 1.278 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.8253, allocations: 8.453 kB / 1.278 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.8253, allocations: 14.55 kB / 1.278 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.8253, allocations: 4.25 kB / 1.278 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.8254, allocations: 103.1 kB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8254, allocations: 0.9375 kB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003084/0.8257, allocations: 51.73 kB / 1.278 GB, free: 2.602 MB / 0.9981 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.0006211/0.8263, allocations: 0.8397 MB / 1.279 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.8265, allocations: 92.8 kB / 1.279 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8265, allocations: 0 / 1.279 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.8266, allocations: 53.58 kB / 1.279 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.8269, allocations: 17.94 kB / 1.279 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.8284, allocations: 1.653 MB / 1.281 GB, free: 16.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.8287, allocations: 0.6976 MB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.35e-05/0.8287, allocations: 9.375 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.8288, allocations: 37.16 kB / 1.281 GB, free: 15.68 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.8288, allocations: 0 / 1.281 GB, free: 15.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.8538, allocations: 3.329 MB / 1.285 GB, free: 15.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.999, allocations: 10.52 kB / 1.285 GB, free: 15.12 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable lig.occ in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.412711096003477]