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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001483/0.001483, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 196.6 kB / 16.79 MB, free: 6.832 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.2 MB / 0.6649 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7365, allocations: 140.4 MB / 0.9496 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002572/0.7392, allocations: 1.545 MB / 0.9511 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.7403, allocations: 0.7321 MB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.7404, allocations: 0 / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.7404, allocations: 3.938 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.107e-05/0.7405, allocations: 10.8 kB / 0.9518 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.741, allocations: 104.1 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.7411, allocations: 63.94 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.7412, allocations: 17.47 kB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.304e-05/0.7413, allocations: 29.72 kB / 0.952 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.7414, allocations: 34.09 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.7414, allocations: 2.562 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.7416, allocations: 97.41 kB / 0.9521 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.7416, allocations: 18.89 kB / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.7416, allocations: 25.45 kB / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.7418, allocations: 104.1 kB / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.7418, allocations: 0 / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7418, allocations: 0 / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.7419, allocations: 0 / 0.9523 GB, free: 6.957 MB / 0.7169 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.000565/0.7424, allocations: 441 kB / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.7425, allocations: 13.72 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.7425, allocations: 4.312 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.35e-05/0.7426, allocations: 184.2 kB / 0.9529 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.7427, allocations: 6.75 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.7427, allocations: 8.078 kB / 0.9529 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.7429, allocations: 67.94 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7429, allocations: 0 / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.7429, allocations: 5.094 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.7429, allocations: 1.219 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.7431, allocations: 35.78 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.7435, allocations: 305.4 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.7437, allocations: 48.12 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.7437, allocations: 32.28 kB / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.7438, allocations: 1.406 kB / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.744, allocations: 80.38 kB / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.744, allocations: 0 / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000408/0.7444, allocations: 144.2 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.7444, allocations: 53.19 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.7445, allocations: 117.2 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.7445, allocations: 32.02 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.7446, allocations: 93.16 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.7446, allocations: 15.47 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.7447, allocations: 28.86 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.7447, allocations: 317.1 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.7448, allocations: 28.44 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.7449, allocations: 61.45 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.7451, allocations: 92.97 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7451, allocations: 4 kB / 0.9544 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002283/0.7453, allocations: 112.9 kB / 0.9545 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.7453, allocations: 5.156 kB / 0.9545 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7454, allocations: 2.547 kB / 0.9545 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.7454, allocations: 1.25 kB / 0.9545 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.7455, allocations: 10 kB / 0.9545 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.7455, allocations: 10.25 kB / 0.9545 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.7456, allocations: 20.75 kB / 0.9546 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.7456, allocations: 4 kB / 0.9546 GB, free: 4.742 MB / 0.7169 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 8.84e-05/0.7457, allocations: 122.6 kB / 0.9547 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.7457, allocations: 7.344 kB / 0.9547 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.7457, allocations: 13.83 kB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7457, allocations: 1.375 kB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7458, allocations: 0 / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7458, allocations: 0 / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.7462, allocations: 385.4 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7462, allocations: 1.531 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.7462, allocations: 2.375 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.7462, allocations: 5.406 kB / 0.9551 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.7462, allocations: 9.328 kB / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7462, allocations: 0 / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7463, allocations: 3.938 kB / 0.9551 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.7465, allocations: 201.6 kB / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.7466, allocations: 94.06 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.7466, allocations: 1.25 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.7467, allocations: 2.562 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.7467, allocations: 14.67 kB / 0.9554 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.7468, allocations: 3.031 kB / 0.9554 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.7468, allocations: 96.23 kB / 0.9555 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7468, allocations: 7.938 kB / 0.9555 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003251/0.7471, allocations: 36 kB / 0.9555 GB, free: 3.824 MB / 0.7169 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.0003393/0.7475, allocations: 154.9 kB / 0.9557 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.7477, allocations: 77.05 kB / 0.9558 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7477, allocations: 0 / 0.9558 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.7479, allocations: 36.06 kB / 0.9558 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.7481, allocations: 11.41 kB / 0.9558 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.7486, allocations: 228.9 kB / 0.956 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7487, allocations: 0.6897 MB / 0.9567 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.7487, allocations: 10.97 kB / 0.9567 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.7487, allocations: 0 / 0.9567 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of Templates: time 0.003412/0.7521, allocations: 1.575 MB / 0.9582 GB, free: 1.93 MB / 0.7169 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