Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.001254/0.001255, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 4.488 MB / 190.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.392/2.392, allocations: 390.2 MB / 0.665 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.8127 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6613, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002348/0.6636, allocations: 1.547 MB / 0.9513 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000971/0.6646, allocations: 0.7184 MB / 0.952 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.6647, allocations: 3.938 kB / 0.952 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.6647, allocations: 3.984 kB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.6648, allocations: 10.31 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.6652, allocations: 104.8 kB / 0.9521 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.6653, allocations: 66.53 kB / 0.9522 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.6654, allocations: 20.89 kB / 0.9522 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.714e-05/0.6655, allocations: 41.2 kB / 0.9522 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.6656, allocations: 33.88 kB / 0.9523 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.6656, allocations: 5.094 kB / 0.9523 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.6657, allocations: 93.44 kB / 0.9523 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.6658, allocations: 11.3 kB / 0.9524 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.6658, allocations: 37.08 kB / 0.9524 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.666, allocations: 92.19 kB / 0.9525 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.666, allocations: 5.5 kB / 0.9525 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.666, allocations: 0 / 0.9525 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.666, allocations: 0 / 0.9525 GB, free: 7.113 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.0004699/0.6665, allocations: 452.6 kB / 0.9529 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.6665, allocations: 13 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.6665, allocations: 5.406 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.6666, allocations: 170.9 kB / 0.9531 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.6667, allocations: 3.375 kB / 0.9531 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.6667, allocations: 8.547 kB / 0.9531 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.6669, allocations: 75.69 kB / 0.9532 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6669, allocations: 3.938 kB / 0.9532 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.6669, allocations: 0.8125 kB / 0.9532 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.6669, allocations: 1.125 kB / 0.9532 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.667, allocations: 40.89 kB / 0.9532 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.6674, allocations: 304.2 kB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.6676, allocations: 49.2 kB / 0.9536 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.6676, allocations: 31.53 kB / 0.9536 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.6677, allocations: 4.875 kB / 0.9536 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.6678, allocations: 77.09 kB / 0.9537 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.6678, allocations: 4 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003717/0.6682, allocations: 136.4 kB / 0.9538 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.6683, allocations: 60.59 kB / 0.9539 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.6683, allocations: 121 kB / 0.954 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.6684, allocations: 27.05 kB / 0.954 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.6684, allocations: 87.39 kB / 0.9541 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.6684, allocations: 18.39 kB / 0.9541 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.6685, allocations: 28.94 kB / 0.9541 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.6685, allocations: 325.3 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.6686, allocations: 20.58 kB / 0.9545 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.6687, allocations: 69.5 kB / 0.9545 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.6688, allocations: 92.88 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6688, allocations: 1.344 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001906/0.669, allocations: 117.1 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.669, allocations: 5.062 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.669, allocations: 1.219 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6691, allocations: 1.406 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/0.6691, allocations: 18.61 kB / 0.9548 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.6692, allocations: 5.219 kB / 0.9548 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.6692, allocations: 13.11 kB / 0.9548 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.6692, allocations: 4.031 kB / 0.9548 GB, free: 4.887 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 6.125e-05/0.6693, allocations: 126.2 kB / 0.9549 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.6693, allocations: 7.938 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.6693, allocations: 5.406 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.6694, allocations: 1.125 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.6694, allocations: 4 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6694, allocations: 1.5 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.6697, allocations: 389.3 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6697, allocations: 3.984 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.6698, allocations: 3.562 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6698, allocations: 0 / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.6698, allocations: 1.156 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6698, allocations: 1.281 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6698, allocations: 3.938 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.6701, allocations: 208.6 kB / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.6701, allocations: 87.05 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.6701, allocations: 5.062 kB / 0.9556 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.6702, allocations: 6.297 kB / 0.9556 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.6703, allocations: 7.781 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.6703, allocations: 5.266 kB / 0.9556 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.6703, allocations: 89.34 kB / 0.9557 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6703, allocations: 0 / 0.9557 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002871/0.6706, allocations: 39.92 kB / 0.9557 GB, free: 3.98 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.0002819/0.6709, allocations: 164.7 kB / 0.9559 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.6711, allocations: 69.77 kB / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6711, allocations: 0 / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.6712, allocations: 44.72 kB / 0.956 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6715, allocations: 16.62 kB / 0.956 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.6718, allocations: 224.2 kB / 0.9562 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.672, allocations: 0.6969 MB / 0.9569 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.672, allocations: 10.09 kB / 0.9569 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.672, allocations: 0 / 0.9569 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.002981/0.675, allocations: 1.583 MB / 0.9585 GB, free: 2.062 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches