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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004206/0.004206, allocations: 98.06 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 197 kB / 16.68 MB, free: 5.93 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.48/2.48, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 71.88 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.5986, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002271/0.6009, allocations: 1.522 MB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.602, allocations: 0.7642 MB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.6021, allocations: 0 / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.6021, allocations: 7.922 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.6022, allocations: 15.81 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.6027, allocations: 127.6 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.6028, allocations: 95.73 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.6029, allocations: 12 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.501e-05/0.603, allocations: 47.78 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.6031, allocations: 51.81 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.6031, allocations: 8 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.6033, allocations: 95.84 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.6033, allocations: 23.92 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.6034, allocations: 39.78 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.6036, allocations: 159.2 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6036, allocations: 8 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6036, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.6036, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 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.0006735/0.6043, allocations: 499.9 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.6043, allocations: 12.03 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.6044, allocations: 34.73 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.6044, allocations: 8.891 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.6046, allocations: 184.2 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.6046, allocations: 8.375 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.6046, allocations: 4.375 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.6048, allocations: 85.77 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.6048, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.6048, allocations: 3.984 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.6048, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.605, allocations: 55.91 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.6055, allocations: 336.6 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.6057, allocations: 90.69 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.6058, allocations: 40.84 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.6058, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.606, allocations: 103.2 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.6061, allocations: 3.938 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0004023/0.6065, allocations: 169.6 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.6065, allocations: 59.34 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.6066, allocations: 137 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.6067, allocations: 33.7 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.6067, allocations: 92.12 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.6068, allocations: 23.86 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.6068, allocations: 33.7 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6069, allocations: 326.8 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.607, allocations: 31.92 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.6071, allocations: 69.12 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.6073, allocations: 113 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6073, allocations: 0 / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002495/0.6076, allocations: 141.4 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6076, allocations: 12.09 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.6076, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.6076, allocations: 4 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.6077, allocations: 19.92 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6077, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.6078, allocations: 15.98 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.6079, allocations: 4 kB / 1.226 GB, free: 12.05 MB / 0.9512 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 9.341e-05/0.608, allocations: 129.7 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.608, allocations: 11.95 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.6083, allocations: 158.3 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.6083, allocations: 4 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6083, allocations: 0 / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.6083, allocations: 3.984 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.6089, allocations: 448.4 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6089, allocations: 0 / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.609, allocations: 15.98 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.609, allocations: 4 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.609, allocations: 0 / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.609, allocations: 3.938 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.609, allocations: 3.938 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.6094, allocations: 247.4 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.6094, allocations: 89.05 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.6095, allocations: 11.94 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.6096, allocations: 7.984 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.6096, allocations: 16.12 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.6096, allocations: 7.984 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.6097, allocations: 99.27 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6097, allocations: 3.938 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002843/0.61, allocations: 47.86 kB / 1.227 GB, free: 10.64 MB / 0.9512 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.0007805/0.6108, allocations: 0.8407 MB / 1.228 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.611, allocations: 92.02 kB / 1.228 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.611, allocations: 4.062 kB / 1.228 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.6112, allocations: 51.92 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.6114, allocations: 16.42 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.6131, allocations: 1.647 MB / 1.23 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.6133, allocations: 0.7002 MB / 1.23 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.6134, allocations: 8.422 kB / 1.23 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.6135, allocations: 35.42 kB / 1.23 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6135, allocations: 3.938 kB / 1.23 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.673/2.286, allocations: 3.315 MB / 1.233 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/14.42, allocations: 15.94 kB / 1.233 GB, free: 3.902 MB / 0.9512 GB (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 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches