Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.001103/0.001103, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.00136/0.00136, allocations: 172.7 kB / 15.95 MB, free: 204 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.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.815/2.815, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004261, allocations: 12 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8203, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002012/0.8224, allocations: 1.238 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.8238, allocations: 0.7249 MB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.8238, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.8239, allocations: 3.938 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.824, allocations: 19.84 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.8246, allocations: 103.8 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.8247, allocations: 83.72 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.8248, allocations: 15.98 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.825, allocations: 39.84 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.8251, allocations: 39.77 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.8251, allocations: 4 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.8253, allocations: 87.91 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.8253, allocations: 19.91 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.8254, allocations: 41.62 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.8256, allocations: 113.8 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.8256, allocations: 7.938 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.574e-06/0.8256, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.8256, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 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.0009039/0.8265, allocations: 496.2 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.8266, allocations: 8.562 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.8267, allocations: 11.81 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.8268, allocations: 179 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.8269, allocations: 11.95 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.8269, allocations: 4 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.8271, allocations: 85.56 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8271, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.8272, allocations: 4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8272, allocations: 3.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.8273, allocations: 55.97 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.8282, allocations: 336.6 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.8284, allocations: 82.67 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.8285, allocations: 48.81 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.8285, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.8288, allocations: 99.39 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.8289, allocations: 0 / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005014/0.8294, allocations: 181.8 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.8294, allocations: 59.39 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.8296, allocations: 143.6 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.8296, allocations: 33.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.8297, allocations: 96.12 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.8298, allocations: 23.66 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.8298, allocations: 8 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.8299, allocations: 318.8 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.83, allocations: 31.98 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.8301, allocations: 69.06 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.8302, allocations: 39.98 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.8303, allocations: 4 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002643/0.8305, allocations: 145.3 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8306, allocations: 4 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.8306, allocations: 12.03 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8306, allocations: 0 / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.8307, allocations: 20.06 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.8307, allocations: 4 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-05/0.8308, allocations: 15.98 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.8309, allocations: 11.95 kB / 1.027 GB, free: 10.62 MB / 0.7794 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.0001337/0.831, allocations: 135.4 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.831, allocations: 7.906 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.8314, allocations: 170.2 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.8314, allocations: 3.984 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.8314, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8315, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.8321, allocations: 477.1 kB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8322, allocations: 0 / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.8322, allocations: 15.98 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8323, allocations: 0 / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.8323, allocations: 4 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8323, allocations: 4 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.8323, allocations: 7.953 kB / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.8327, allocations: 251.2 kB / 1.028 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/0.8327, allocations: 96.88 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.8328, allocations: 0 / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.8329, allocations: 12 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.833, allocations: 19.97 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.833, allocations: 7.953 kB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.702e-05/0.8331, allocations: 108.5 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8331, allocations: 0 / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003821/0.8335, allocations: 44 kB / 1.029 GB, free: 9.18 MB / 0.7794 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.0005338/0.834, allocations: 164.8 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.8344, allocations: 96.08 kB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8344, allocations: 0 / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.8345, allocations: 67.53 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.8349, allocations: 21.81 kB / 1.029 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/0.8356, allocations: 259.1 kB / 1.029 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.836, allocations: 0.7043 MB / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.999e-05/0.8361, allocations: 16.53 kB / 1.03 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.8361, allocations: 11.44 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8361, allocations: 3.938 kB / 1.03 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of Templates: time 0.006/0.8422, allocations: 1.803 MB / 1.032 GB, free: 6.008 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches