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.0008496/0.0008499, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001033/0.001033, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.386/2.386, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6423/0.6427, allocations: 142.4 MB / 0.955 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001493/0.6442, allocations: 1.207 MB / 0.9562 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.6454, allocations: 0.7083 MB / 0.9569 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.6455, allocations: 1.062 kB / 0.9569 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.6455, allocations: 0 / 0.9569 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.6456, allocations: 18.42 kB / 0.9569 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.646, allocations: 99.34 kB / 0.957 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.6462, allocations: 69.08 kB / 0.9571 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.6462, allocations: 17.66 kB / 0.9571 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.551e-05/0.6463, allocations: 31.83 kB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.6464, allocations: 29.62 kB / 0.9572 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.6464, allocations: 3.25 kB / 0.9572 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.6466, allocations: 92.88 kB / 0.9573 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.6467, allocations: 10.14 kB / 0.9573 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.6467, allocations: 62.97 kB / 0.9573 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.6469, allocations: 128.4 kB / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6469, allocations: 0 / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.647, allocations: 0 / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.647, allocations: 0 / 0.9575 GB, free: 5.777 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.0005033/0.6475, allocations: 438.9 kB / 0.9579 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6475, allocations: 9.812 kB / 0.9579 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.6476, allocations: 7.719 kB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.6477, allocations: 176.2 kB / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.6477, allocations: 6.906 kB / 0.9581 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.6477, allocations: 4.281 kB / 0.9581 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.6479, allocations: 75.25 kB / 0.9581 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6479, allocations: 0 / 0.9581 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.648, allocations: 5.062 kB / 0.9581 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.648, allocations: 5.031 kB / 0.9582 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.6481, allocations: 41.59 kB / 0.9582 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.6486, allocations: 297.6 kB / 0.9585 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.6487, allocations: 51.41 kB / 0.9585 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.965e-05/0.6488, allocations: 38.88 kB / 0.9586 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.6488, allocations: 1.031 kB / 0.9586 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.649, allocations: 84.19 kB / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.649, allocations: 0 / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004052/0.6495, allocations: 143.6 kB / 0.9588 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.6495, allocations: 58.52 kB / 0.9588 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.6496, allocations: 124.6 kB / 0.959 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.6496, allocations: 33.69 kB / 0.959 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.6496, allocations: 91.61 kB / 0.9591 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.6497, allocations: 14.59 kB / 0.9591 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.6497, allocations: 26.02 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.6497, allocations: 320.4 kB / 0.9594 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.6498, allocations: 23.39 kB / 0.9594 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.6499, allocations: 68.59 kB / 0.9595 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.6501, allocations: 94.64 kB / 0.9596 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6501, allocations: 3.984 kB / 0.9596 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002173/0.6503, allocations: 121.8 kB / 0.9597 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6503, allocations: 5.531 kB / 0.9597 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6503, allocations: 2.188 kB / 0.9597 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.6504, allocations: 6.25 kB / 0.9597 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.6504, allocations: 14 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6505, allocations: 2.469 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.6505, allocations: 17.11 kB / 0.9598 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.6505, allocations: 3.719 kB / 0.9598 GB, free: 3.57 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.421e-05/0.6506, allocations: 128 kB / 0.9599 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.6506, allocations: 6.656 kB / 0.9599 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.6507, allocations: 17.7 kB / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6507, allocations: 1.375 kB / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6507, allocations: 0 / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6507, allocations: 1.375 kB / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.6511, allocations: 387.1 kB / 0.9603 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6511, allocations: 0 / 0.9603 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.6511, allocations: 4.125 kB / 0.9603 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6511, allocations: 1.375 kB / 0.9603 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.6512, allocations: 3.984 kB / 0.9603 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6512, allocations: 1.375 kB / 0.9603 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6512, allocations: 7.875 kB / 0.9603 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.6514, allocations: 210.4 kB / 0.9605 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.6515, allocations: 86.33 kB / 0.9606 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.6515, allocations: 5.359 kB / 0.9606 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.6516, allocations: 12.06 kB / 0.9606 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.6516, allocations: 10.67 kB / 0.9606 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.6516, allocations: 2.75 kB / 0.9606 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.6517, allocations: 95.52 kB / 0.9607 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6517, allocations: 1.375 kB / 0.9607 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003336/0.652, allocations: 35.5 kB / 0.9607 GB, free: 2.656 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.0003297/0.6524, allocations: 163.4 kB / 0.9609 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.6526, allocations: 82.58 kB / 0.961 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6526, allocations: 0 / 0.961 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.6527, allocations: 35.36 kB / 0.961 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.653, allocations: 12.42 kB / 0.961 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.6534, allocations: 215.8 kB / 0.9612 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.6535, allocations: 0.6881 MB / 0.9619 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.6535, allocations: 11.27 kB / 0.9619 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.6535, allocations: 11 kB / 0.9619 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.6536, allocations: 3.938 kB / 0.9619 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.003874/0.6574, allocations: 1.346 MB / 0.9632 GB, free: 0.8789 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time