Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_9_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.006701/0.006701, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001601/0.001601, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9094/0.911, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.0023/0.9134, allocations: 1.533 MB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.9145, allocations: 0.7404 MB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.9146, allocations: 1.312 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.9146, allocations: 13.09 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.9147, allocations: 16.3 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.9152, allocations: 132.8 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.9154, allocations: 96.28 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.9155, allocations: 16.17 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.9156, allocations: 43.61 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.9157, allocations: 52.58 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.9157, allocations: 8.531 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.9159, allocations: 96.27 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.916, allocations: 24.39 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.916, allocations: 40.39 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.9163, allocations: 159.7 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.9163, allocations: 1.094 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9163, allocations: 0.5156 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.9163, allocations: 0 / 1.09 GB, free: 3.383 MB / 0.8575 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.000624/0.917, allocations: 499 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.917, allocations: 9.219 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.917, allocations: 38.12 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.9171, allocations: 9.438 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.9172, allocations: 188.4 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.9172, allocations: 7.094 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.9172, allocations: 5.219 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.9174, allocations: 79.34 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.9174, allocations: 8.781 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.9175, allocations: 4.562 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.9175, allocations: 1.406 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.9176, allocations: 52.28 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.9181, allocations: 335 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.9183, allocations: 83.3 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.9184, allocations: 39.2 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.9184, allocations: 1 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.9187, allocations: 104.8 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.9187, allocations: 0.75 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004545/0.9191, allocations: 183 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.9192, allocations: 54.8 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.9193, allocations: 133.3 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.9193, allocations: 27.7 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.9194, allocations: 96.55 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.9194, allocations: 30.12 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.9194, allocations: 35.98 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.9195, allocations: 333.1 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.9196, allocations: 28.38 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.9197, allocations: 65.47 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.9199, allocations: 111.2 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9199, allocations: 0 / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002896/0.9202, allocations: 134.6 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9203, allocations: 6.094 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9203, allocations: 1.594 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.9203, allocations: 3.359 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.9204, allocations: 27.05 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9204, allocations: 2.578 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.9205, allocations: 10.31 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.9206, allocations: 4.578 kB / 1.093 GB, free: 1.121 MB / 0.8575 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.987e-05/0.9207, allocations: 130.8 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.9207, allocations: 12.61 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.9211, allocations: 160.4 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.9211, allocations: 5.562 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9211, allocations: 1.516 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9211, allocations: 1.5 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.9218, allocations: 445.1 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9218, allocations: 0 / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.029e-05/0.9219, allocations: 11.75 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9219, allocations: 4.75 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.9219, allocations: 7 kB / 1.094 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.9219, allocations: 9.469 kB / 1.094 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9219, allocations: 4 kB / 1.094 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.9222, allocations: 246.9 kB / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.9223, allocations: 85.44 kB / 1.094 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.9223, allocations: 5.594 kB / 1.094 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.9224, allocations: 11.59 kB / 1.094 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.9225, allocations: 9.594 kB / 1.094 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.9225, allocations: 9.281 kB / 1.094 GB, free: 244 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.9226, allocations: 101 kB / 1.094 GB, free: 160 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9226, allocations: 0 / 1.094 GB, free: 160 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003509/0.9229, allocations: 47.33 kB / 1.094 GB, free: 148 kB / 0.8575 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.000908/0.9238, allocations: 0.8409 MB / 1.095 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.9241, allocations: 95.05 kB / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9241, allocations: 0 / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.9243, allocations: 53.36 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.9246, allocations: 27.75 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.9265, allocations: 1.644 MB / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.9268, allocations: 0.6958 MB / 1.097 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.981e-05/0.9268, allocations: 14.38 kB / 1.097 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.9269, allocations: 27.84 kB / 1.098 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.9269, allocations: 0.6562 kB / 1.098 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.9469, allocations: 3.31 MB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/8.363, allocations: 5.156 kB / 1.101 GB, free: 12.69 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches