Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008063/0.008063, allocations: 99.42 kB / 15.73 MB, free: 6.012 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.001586/0.001586, allocations: 192.5 kB / 16.67 MB, free: 5.949 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.561/1.561, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.831/2.831, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3245, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002582/0.3271, allocations: 1.482 MB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3284, allocations: 0.7245 MB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.3284, allocations: 7.938 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.3285, allocations: 3.938 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.3285, allocations: 15.84 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.3291, allocations: 115.6 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3292, allocations: 75.7 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3293, allocations: 15.92 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.3294, allocations: 31.92 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.3295, allocations: 31.84 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.3295, allocations: 4 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.3297, allocations: 99.84 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.3298, allocations: 15.97 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.3298, allocations: 35.86 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.3301, allocations: 127.6 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3301, allocations: 3.938 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.957e-06/0.3301, allocations: 4 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3301, allocations: 0 / 1.169 GB, free: 4 MB / 0.92 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.0006292/0.3307, allocations: 450.4 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3308, allocations: 12.03 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.3308, allocations: 4.891 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.331, allocations: 176.2 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.331, allocations: 12.36 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.331, allocations: 8.375 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3312, allocations: 69.97 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3312, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3312, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3313, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3314, allocations: 35.97 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.3319, allocations: 296.8 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3321, allocations: 58.48 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.3322, allocations: 32.97 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.3322, allocations: 4 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.3324, allocations: 75.38 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.3324, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004241/0.3329, allocations: 145.6 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.3329, allocations: 55.39 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.333, allocations: 117.8 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3331, allocations: 29.64 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.3331, allocations: 100.1 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.3332, allocations: 15.84 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.3332, allocations: 29.7 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3334, allocations: 322.8 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.3334, allocations: 19.98 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3335, allocations: 61.56 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.3337, allocations: 97 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3337, allocations: 0 / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002357/0.334, allocations: 117.5 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.334, allocations: 7.938 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.334, allocations: 4 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.334, allocations: 3.984 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.3341, allocations: 12 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3342, allocations: 0 / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.3342, allocations: 11.98 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3342, allocations: 8.156 kB / 1.172 GB, free: 1.383 MB / 0.92 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.0001008/0.3344, allocations: 129.7 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.3344, allocations: 7.953 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.3344, allocations: 8.375 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3344, allocations: 0 / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3344, allocations: 0 / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3344, allocations: 3.984 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.3349, allocations: 390.3 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3349, allocations: 0 / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.335, allocations: 4 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.335, allocations: 0 / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.335, allocations: 4 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.335, allocations: 3.938 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.335, allocations: 7.922 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.3353, allocations: 203.9 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.3354, allocations: 85.06 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3354, allocations: 0 / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.3355, allocations: 7.984 kB / 1.172 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.3355, allocations: 3.938 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3356, allocations: 7.984 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.3356, allocations: 103.4 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3356, allocations: 0 / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003119/0.3359, allocations: 31.94 kB / 1.173 GB, free: 308 kB / 0.92 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.0003871/0.3363, allocations: 167.7 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3366, allocations: 67.89 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3366, allocations: 4 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3367, allocations: 36.3 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.337, allocations: 12.31 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.3375, allocations: 191.4 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3377, allocations: 0.6924 MB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.3378, allocations: 4 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.3378, allocations: 15.44 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3378, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.004216/0.342, allocations: 1.439 MB / 1.175 GB, free: 13.64 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time