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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 107.6 kB / 16.45 MB, free: 6.035 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.001306/0.001306, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 1.056 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8617, allocations: 160.7 MB / 1.213 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003046/0.8647, allocations: 1.537 MB / 1.214 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.8662, allocations: 0.7598 MB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.8663, allocations: 1.094 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.8663, allocations: 3.938 kB / 1.215 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.8665, allocations: 21.97 kB / 1.215 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.8672, allocations: 127.4 kB / 1.215 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.8673, allocations: 99.59 kB / 1.215 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8674, allocations: 8.5 kB / 1.215 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.8676, allocations: 52.83 kB / 1.215 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.8677, allocations: 45.17 kB / 1.215 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.8677, allocations: 8.312 kB / 1.215 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.868, allocations: 109.2 kB / 1.216 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.868, allocations: 19.73 kB / 1.216 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.8681, allocations: 42.44 kB / 1.216 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.8684, allocations: 161.3 kB / 1.216 GB, free: 1.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8684, allocations: 1.156 kB / 1.216 GB, free: 1.676 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8684, allocations: 0 / 1.216 GB, free: 1.676 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.8685, allocations: 0 / 1.216 GB, free: 1.676 MB / 0.92 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.0009482/0.8694, allocations: 0.5023 MB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.8694, allocations: 10.62 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.8695, allocations: 39.89 kB / 1.216 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.8695, allocations: 9.828 kB / 1.216 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.8697, allocations: 177.1 kB / 1.217 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.8697, allocations: 6.562 kB / 1.217 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.8698, allocations: 4.719 kB / 1.217 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.87, allocations: 84.61 kB / 1.217 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.87, allocations: 4 kB / 1.217 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.87, allocations: 4 kB / 1.217 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.87, allocations: 5.984 kB / 1.217 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.8702, allocations: 49.78 kB / 1.217 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.8708, allocations: 333.2 kB / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.871, allocations: 83.66 kB / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.8711, allocations: 40.55 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.8711, allocations: 1.031 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.8714, allocations: 98.92 kB / 1.217 GB, free: 288 kB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.8714, allocations: 0 / 1.217 GB, free: 288 kB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004494/0.8718, allocations: 184.4 kB / 1.217 GB, free: 180 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.8719, allocations: 53.28 kB / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.872, allocations: 134.8 kB / 1.218 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.872, allocations: 26.89 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.8721, allocations: 103.5 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.8721, allocations: 20.2 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.8722, allocations: 32.36 kB / 1.218 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8724, allocations: 333 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.8724, allocations: 28.02 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.8726, allocations: 69.94 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.8728, allocations: 112.3 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8728, allocations: 1.344 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002769/0.873, allocations: 138.7 kB / 1.218 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.8731, allocations: 5.688 kB / 1.218 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.8731, allocations: 2 kB / 1.218 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8731, allocations: 2.25 kB / 1.218 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.8732, allocations: 23.73 kB / 1.218 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8732, allocations: 1.938 kB / 1.218 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.8733, allocations: 7.531 kB / 1.218 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.8733, allocations: 16.58 kB / 1.218 GB, free: 15.2 MB / 0.9356 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.0001307/0.8735, allocations: 126.9 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.8735, allocations: 7.578 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.8739, allocations: 159.7 kB / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8739, allocations: 5.203 kB / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8739, allocations: 0 / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.8739, allocations: 9.219 kB / 1.219 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.8746, allocations: 450.2 kB / 1.219 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8746, allocations: 1.125 kB / 1.219 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.8747, allocations: 16.83 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.8747, allocations: 1.156 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.8747, allocations: 5.375 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.8747, allocations: 9.281 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8747, allocations: 0 / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.8751, allocations: 239.2 kB / 1.219 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.8752, allocations: 83.84 kB / 1.219 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.8752, allocations: 13.08 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.8753, allocations: 9.031 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.8754, allocations: 12.92 kB / 1.22 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.8754, allocations: 7.359 kB / 1.22 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.155e-05/0.8755, allocations: 104 kB / 1.22 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8755, allocations: 0 / 1.22 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00038/0.8759, allocations: 48.88 kB / 1.22 GB, free: 14.13 MB / 0.9356 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.00109/0.877, allocations: 0.8422 MB / 1.221 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.8773, allocations: 93.33 kB / 1.221 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8773, allocations: 0 / 1.221 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.8774, allocations: 47.2 kB / 1.221 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.8777, allocations: 24.42 kB / 1.221 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.8799, allocations: 1.645 MB / 1.222 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.8802, allocations: 0.6936 MB / 1.223 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.681e-05/0.8803, allocations: 18.97 kB / 1.223 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.8804, allocations: 29.83 kB / 1.223 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.8804, allocations: 0 / 1.223 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.9091, allocations: 3.331 MB / 1.226 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/9.202, allocations: 4.203 kB / 1.226 GB, free: 9.348 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.99615582684055]