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.001654/0.001654, allocations: 111.8 kB / 18.13 MB, free: 3.805 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.002127/0.002127, allocations: 202 kB / 21.43 MB, free: 0.5234 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.504/1.504, allocations: 225.6 MB / 250.2 MB, free: 13.25 MB / 206.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.807/2.807, allocations: 476.7 MB / 0.7637 GB, free: 10.08 MB / 0.6231 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.002692/0.002692, allocations: 66.78 kB / 1.108 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3378, allocations: 168.7 MB / 1.273 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.004672/0.3425, allocations: 1.54 MB / 1.274 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3443, allocations: 0.7684 MB / 1.275 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.3444, allocations: 4 kB / 1.275 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.073e-05/0.3444, allocations: 3.938 kB / 1.275 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.3445, allocations: 27.78 kB / 1.275 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.3453, allocations: 127.6 kB / 1.275 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3455, allocations: 91.77 kB / 1.275 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3456, allocations: 7.984 kB / 1.275 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3458, allocations: 47.78 kB / 1.275 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3459, allocations: 47.83 kB / 1.275 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.3459, allocations: 12 kB / 1.275 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.3462, allocations: 111.8 kB / 1.276 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.3463, allocations: 19.92 kB / 1.276 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.3463, allocations: 39.8 kB / 1.276 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.3467, allocations: 167.7 kB / 1.276 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3467, allocations: 0 / 1.276 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3467, allocations: 0 / 1.276 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3467, allocations: 0 / 1.276 GB, free: 8.684 MB / 0.9825 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.0009855/0.3477, allocations: 0.4945 MB / 1.276 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3478, allocations: 8.031 kB / 1.276 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.3478, allocations: 34.75 kB / 1.276 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.3479, allocations: 12.89 kB / 1.276 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3481, allocations: 182.7 kB / 1.276 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3481, allocations: 4.375 kB / 1.276 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.3481, allocations: 8.375 kB / 1.276 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3483, allocations: 85.77 kB / 1.277 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3483, allocations: 0 / 1.277 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3484, allocations: 7.938 kB / 1.277 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3484, allocations: 4 kB / 1.277 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.3485, allocations: 55.89 kB / 1.277 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.3492, allocations: 332.7 kB / 1.277 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3494, allocations: 86.69 kB / 1.277 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3495, allocations: 36.84 kB / 1.277 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3495, allocations: 0 / 1.277 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/0.3498, allocations: 95.34 kB / 1.277 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.3498, allocations: 3.938 kB / 1.277 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005229/0.3503, allocations: 169.6 kB / 1.277 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.3504, allocations: 63.34 kB / 1.277 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3505, allocations: 134.1 kB / 1.277 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3506, allocations: 29.7 kB / 1.278 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.3506, allocations: 92.14 kB / 1.278 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.3507, allocations: 27.78 kB / 1.278 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.3507, allocations: 33.7 kB / 1.278 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3509, allocations: 322.8 kB / 1.278 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.351, allocations: 35.98 kB / 1.278 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.3511, allocations: 69.12 kB / 1.278 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.3513, allocations: 109.1 kB / 1.278 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3513, allocations: 0 / 1.278 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002785/0.3516, allocations: 141.4 kB / 1.278 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3516, allocations: 8 kB / 1.278 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3516, allocations: 0 / 1.278 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3516, allocations: 4 kB / 1.278 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3517, allocations: 19.92 kB / 1.278 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3517, allocations: 0 / 1.278 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3519, allocations: 20.08 kB / 1.278 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3519, allocations: 4 kB / 1.278 GB, free: 5.707 MB / 0.9825 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.000134/0.352, allocations: 137.6 kB / 1.278 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.352, allocations: 7.953 kB / 1.278 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.3524, allocations: 159.8 kB / 1.279 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3524, allocations: 0 / 1.279 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3524, allocations: 4 kB / 1.279 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3524, allocations: 4 kB / 1.279 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.3531, allocations: 446.3 kB / 1.279 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3531, allocations: 0 / 1.279 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.3531, allocations: 8 kB / 1.279 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.3531, allocations: 4 kB / 1.279 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3532, allocations: 7.984 kB / 1.279 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.3532, allocations: 3.938 kB / 1.279 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3532, allocations: 7.875 kB / 1.279 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.3535, allocations: 251 kB / 1.279 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.3536, allocations: 89 kB / 1.279 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.3536, allocations: 7.938 kB / 1.279 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.3537, allocations: 7.984 kB / 1.279 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.3538, allocations: 15.98 kB / 1.279 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3538, allocations: 4.141 kB / 1.279 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.13e-05/0.3539, allocations: 109.8 kB / 1.28 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3539, allocations: 0 / 1.28 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000316/0.3542, allocations: 39.94 kB / 1.28 GB, free: 4.316 MB / 0.9825 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.0009574/0.3552, allocations: 0.8459 MB / 1.28 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3554, allocations: 83.89 kB / 1.281 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3555, allocations: 0 / 1.281 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3556, allocations: 51.91 kB / 1.281 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3559, allocations: 20.11 kB / 1.281 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.3579, allocations: 1.661 MB / 1.282 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3583, allocations: 0.6924 MB / 1.283 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.3583, allocations: 12.42 kB / 1.283 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.3584, allocations: 35.42 kB / 1.283 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.3584, allocations: 0 / 1.283 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.394, allocations: 3.335 MB / 1.286 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.613, allocations: 7.312 kB / 1.286 GB, free: 13.54 MB / 0.9981 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.276723598130047]