Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.001105/0.001105, 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.001294/0.001294, allocations: 192.7 kB / 16.53 MB, free: 6.699 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.89 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.6007, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002716/0.6035, allocations: 1.522 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.6048, allocations: 0.7595 MB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.6049, allocations: 3.938 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.6049, allocations: 3.938 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.806e-05/0.605, allocations: 11.88 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.6056, allocations: 131.5 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.6058, allocations: 95.75 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.6059, allocations: 12 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.606, allocations: 47.78 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.6061, allocations: 51.81 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.6061, allocations: 11.94 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.6063, allocations: 95.84 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.6064, allocations: 23.92 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.6064, allocations: 43.77 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.6067, allocations: 153.9 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6067, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6067, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6067, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 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.0007636/0.6075, allocations: 496.2 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6075, allocations: 12.03 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.6076, allocations: 34.75 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.6076, allocations: 16.73 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.6078, allocations: 180.2 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.6078, allocations: 4.312 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.6078, allocations: 4.375 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.608, allocations: 89.77 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.608, allocations: 3.984 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.6081, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6081, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.6082, allocations: 55.95 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.6088, allocations: 336.6 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.609, allocations: 82.67 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.6091, allocations: 44.83 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.6092, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.6094, allocations: 107.2 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.6094, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004142/0.6098, allocations: 173.5 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.6099, allocations: 55.41 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.61, allocations: 131.8 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.61, allocations: 33.7 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.6101, allocations: 92.12 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.6101, allocations: 27.64 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.6102, allocations: 37.7 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6103, allocations: 326.8 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/0.6104, allocations: 31.92 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.6105, allocations: 69.12 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.6107, allocations: 113 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6107, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002517/0.611, allocations: 133.3 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.611, allocations: 13.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.611, allocations: 4.094 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.611, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.6111, allocations: 19.92 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.6112, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.6113, allocations: 15.94 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.6113, allocations: 8.125 kB / 1.023 GB, free: 12.55 MB / 0.7794 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 0.0001197/0.6114, allocations: 131.8 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.6114, allocations: 11.84 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.6118, allocations: 162.3 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6118, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6118, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6118, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.6124, allocations: 448.4 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6124, allocations: 0 / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.6125, allocations: 15.98 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.6125, allocations: 4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.6125, allocations: 4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.6125, allocations: 3.938 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6125, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.6128, allocations: 243.3 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.6129, allocations: 85.02 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.6129, allocations: 11.98 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.6131, allocations: 7.938 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.6131, allocations: 15.98 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.6131, allocations: 7.984 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.6132, allocations: 100.1 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6132, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003367/0.6136, allocations: 43.94 kB / 1.024 GB, free: 11.18 MB / 0.7794 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.0008171/0.6144, allocations: 0.8428 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.6147, allocations: 100 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6147, allocations: 4 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.6148, allocations: 47.92 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.6151, allocations: 20.64 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.6169, allocations: 1.636 MB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.6171, allocations: 0.6924 MB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.077e-05/0.6172, allocations: 12.42 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.6173, allocations: 39.42 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6173, allocations: 0 / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04137/0.6587, allocations: 3.27 MB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/7.603, allocations: 8 kB / 1.031 GB, free: 4.469 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches