Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001231/0.001231, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.929/2.929, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 12.94 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4061, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002093/0.4082, allocations: 1.249 MB / 1.059 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.4099, allocations: 0.7171 MB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.41, allocations: 0 / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.4101, allocations: 11.92 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.4102, allocations: 11.86 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.4109, allocations: 103.8 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.4111, allocations: 83.7 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4112, allocations: 12 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.4114, allocations: 43.83 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.4115, allocations: 43.83 kB / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.4115, allocations: 4 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.4118, allocations: 79.86 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.4118, allocations: 23.89 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.4119, allocations: 37.7 kB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.4121, allocations: 108 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.4121, allocations: 8 kB / 1.06 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.073e-06/0.4121, allocations: 3.938 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4121, allocations: 0 / 1.06 GB, free: 2.734 MB / 0.8106 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.0008954/0.4131, allocations: 0.4883 MB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.4131, allocations: 12.03 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.4132, allocations: 11.91 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4134, allocations: 192.2 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.4135, allocations: 0 / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.4135, allocations: 4 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.4137, allocations: 85.58 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4138, allocations: 0 / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.4138, allocations: 4 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4138, allocations: 0 / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.414, allocations: 59.89 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007281/0.4147, allocations: 328.8 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.415, allocations: 94.67 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.4151, allocations: 36.84 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.4151, allocations: 7.984 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.4154, allocations: 103.3 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.4154, allocations: 4 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0005099/0.416, allocations: 181.4 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.416, allocations: 55.41 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.4162, allocations: 139.2 kB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.4162, allocations: 29.7 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.4163, allocations: 96.12 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.4163, allocations: 31.64 kB / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.4164, allocations: 7.938 kB / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.4165, allocations: 318.8 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.4166, allocations: 31.97 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.4168, allocations: 69.14 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.4169, allocations: 39.92 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4169, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000283/0.4172, allocations: 141.3 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4172, allocations: 8.094 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4172, allocations: 8 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4173, allocations: 7.984 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.4174, allocations: 15.98 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4174, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.4175, allocations: 23.89 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.4175, allocations: 7.984 kB / 1.063 GB, free: 15.88 MB / 0.8262 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.4177, allocations: 136.1 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.4177, allocations: 11.81 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.4181, allocations: 166.3 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4181, allocations: 7.938 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4182, allocations: 0 / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4182, allocations: 0 / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.4188, allocations: 472.6 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4188, allocations: 0 / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.419, allocations: 19.92 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.419, allocations: 4 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.419, allocations: 7.984 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.419, allocations: 3.953 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.419, allocations: 4 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.4194, allocations: 247.4 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.4194, allocations: 85.02 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4195, allocations: 3.938 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4196, allocations: 19.98 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.4197, allocations: 11.94 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.4197, allocations: 4 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.481e-05/0.4198, allocations: 114 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4198, allocations: 3.938 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003563/0.4201, allocations: 44 kB / 1.064 GB, free: 14.44 MB / 0.8262 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003948/0.4205, allocations: 163.2 kB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.4208, allocations: 94.25 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4208, allocations: 4 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.421, allocations: 55.92 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.4213, allocations: 20.45 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.4219, allocations: 255.1 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.4222, allocations: 0.7083 MB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.898e-05/0.4223, allocations: 8.547 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.4223, allocations: 23.42 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.4223, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.005306/0.4276, allocations: 1.811 MB / 1.067 GB, free: 11.27 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches