Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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_9_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.001435/0.001435, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001514/0.001514, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.88 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7677, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002376/0.7701, allocations: 1.497 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.7713, allocations: 0.717 MB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.7714, allocations: 4.812 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.7714, allocations: 5.297 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.7715, allocations: 14.52 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.772, allocations: 115.7 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.7721, allocations: 73.88 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.7722, allocations: 11.61 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.091e-05/0.7723, allocations: 38.38 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.899e-05/0.7724, allocations: 33.12 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.7724, allocations: 6.281 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.7726, allocations: 88.81 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.7727, allocations: 19.53 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.7727, allocations: 27.61 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.773, allocations: 139.2 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.773, allocations: 4.938 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.773, allocations: 0 / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.773, allocations: 0 / 1.091 GB, free: 3.758 MB / 0.8575 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.0005118/0.7735, allocations: 448.9 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.7736, allocations: 10.34 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.7736, allocations: 9.297 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.7737, allocations: 180.5 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.7737, allocations: 3.125 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.7738, allocations: 5.141 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.774, allocations: 76.38 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.774, allocations: 8.922 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.774, allocations: 0 / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.774, allocations: 1.656 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.7742, allocations: 35.72 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.7746, allocations: 295.4 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.7747, allocations: 50.25 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.948e-05/0.7748, allocations: 31.11 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.7749, allocations: 2.703 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.775, allocations: 76.62 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.775, allocations: 0 / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004046/0.7755, allocations: 140.5 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.7755, allocations: 62 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.7756, allocations: 123.3 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.7756, allocations: 27.45 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.7756, allocations: 91.55 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.7757, allocations: 12.75 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.7757, allocations: 27.83 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.7758, allocations: 323.2 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.7759, allocations: 29.2 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.7759, allocations: 59.66 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.7761, allocations: 94.83 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7761, allocations: 0.75 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002166/0.7763, allocations: 112.7 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7764, allocations: 6.25 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.7764, allocations: 5.625 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.7764, allocations: 2.188 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.7765, allocations: 16.7 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.7765, allocations: 3.422 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.7766, allocations: 16.7 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.7766, allocations: 4.484 kB / 1.094 GB, free: 1.688 MB / 0.8575 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 6.497e-05/0.7766, allocations: 126.1 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.7767, allocations: 7.688 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.7767, allocations: 14.98 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7767, allocations: 0.9375 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7767, allocations: 1.672 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.7767, allocations: 0 / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.7771, allocations: 382 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7771, allocations: 0.9375 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.7772, allocations: 4.312 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7772, allocations: 1.219 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.7772, allocations: 2.703 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.7772, allocations: 4.844 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7772, allocations: 3.938 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.7775, allocations: 203 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.7775, allocations: 83.39 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.7775, allocations: 10.09 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.7776, allocations: 8.672 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.7777, allocations: 12.69 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.7777, allocations: 3.734 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.7777, allocations: 91.36 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7777, allocations: 0 / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003124/0.7781, allocations: 42.55 kB / 1.095 GB, free: 0.8359 MB / 0.8575 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.0003065/0.7784, allocations: 173.2 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.7786, allocations: 71.19 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7786, allocations: 0 / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.7787, allocations: 38.11 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.779, allocations: 13 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.7794, allocations: 215.4 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.7796, allocations: 0.6864 MB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.7797, allocations: 11.95 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.7797, allocations: 0 / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.004051/0.7837, allocations: 1.579 MB / 1.097 GB, free: 15.64 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches