Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 109.5 kB / 15.99 MB, free: 6.359 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.001218/0.001218, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.686/2.686, allocations: 482.2 MB / 0.7548 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 68.17 kB / 0.9238 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8279/0.8298, allocations: 162.2 MB / 1.082 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002373/0.8322, allocations: 1.552 MB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.8333, allocations: 0.7188 MB / 1.084 GB, free: 160 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.8333, allocations: 3.938 kB / 1.084 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.8334, allocations: 2.438 kB / 1.084 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.8334, allocations: 17.72 kB / 1.084 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.8339, allocations: 97.3 kB / 1.084 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.834, allocations: 70.23 kB / 1.085 GB, free: 64 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.8341, allocations: 15.3 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.8342, allocations: 38.67 kB / 1.085 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.8343, allocations: 37.19 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.8343, allocations: 6.438 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.8345, allocations: 89.14 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.8345, allocations: 18.84 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.8346, allocations: 36.55 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.8348, allocations: 94.55 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8348, allocations: 0.875 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8348, allocations: 0 / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.8348, allocations: 0 / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000629/0.8354, allocations: 455 kB / 1.085 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.8355, allocations: 9.188 kB / 1.085 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.8355, allocations: 10 kB / 1.085 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.8357, allocations: 172.9 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.8357, allocations: 3.391 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.8357, allocations: 4.188 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.8359, allocations: 73.48 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8359, allocations: 0 / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.8359, allocations: 1.938 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.8359, allocations: 4 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.8361, allocations: 39.77 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.8366, allocations: 292.8 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.8368, allocations: 44.61 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.329e-05/0.8369, allocations: 40.86 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.8369, allocations: 6.109 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.8371, allocations: 76 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.8371, allocations: 0 / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004182/0.8375, allocations: 133.4 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.8376, allocations: 62.14 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.8377, allocations: 119.9 kB / 1.086 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.8377, allocations: 26.27 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.8378, allocations: 92.84 kB / 1.086 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.8378, allocations: 19.8 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.8379, allocations: 27.62 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.838, allocations: 323.3 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.8381, allocations: 25.28 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.8382, allocations: 75.38 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.8384, allocations: 91.58 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.8384, allocations: 1.062 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002281/0.8387, allocations: 108.4 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.8387, allocations: 5.625 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8387, allocations: 1.281 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.8387, allocations: 7.484 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.8388, allocations: 15.36 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8388, allocations: 2.969 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.8389, allocations: 14.39 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.8389, allocations: 3.375 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001139/0.839, allocations: 124.8 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.8391, allocations: 11.03 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.8391, allocations: 6.719 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.8391, allocations: 4.781 kB / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8391, allocations: 0.6094 kB / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.8391, allocations: 6.062 kB / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.8397, allocations: 378 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8397, allocations: 0 / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.8398, allocations: 5.359 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8398, allocations: 0 / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.8398, allocations: 2.688 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8398, allocations: 5.359 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8398, allocations: 5.219 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.8401, allocations: 209.2 kB / 1.088 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.8402, allocations: 89.2 kB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.8402, allocations: 4 kB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.8403, allocations: 5.438 kB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.8404, allocations: 12.58 kB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.8404, allocations: 3.594 kB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.285e-05/0.8404, allocations: 95.91 kB / 1.088 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.8404, allocations: 1.188 kB / 1.088 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003183/0.8408, allocations: 36.91 kB / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003598/0.8411, allocations: 162.3 kB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.8414, allocations: 72 kB / 1.088 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8414, allocations: 3.938 kB / 1.088 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.8415, allocations: 33.2 kB / 1.088 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.8418, allocations: 15.03 kB / 1.088 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.8422, allocations: 230.5 kB / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.8425, allocations: 0.6868 MB / 1.089 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.8426, allocations: 16.3 kB / 1.089 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.8426, allocations: 0 / 1.089 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.003664/0.8463, allocations: 1.581 MB / 1.091 GB, free: 11.8 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches