Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001143/0.001144, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009815/0.009816, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 8.969 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3268, allocations: 159.6 MB / 1.059 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001889/0.3288, allocations: 1.213 MB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3302, allocations: 0.7284 MB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.3303, allocations: 0 / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.3303, allocations: 3.938 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.3304, allocations: 15.86 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.3309, allocations: 95.78 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.331, allocations: 71.77 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.3311, allocations: 11.98 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.3312, allocations: 23.92 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.3313, allocations: 35.84 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3313, allocations: 4 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.3315, allocations: 87.84 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.3316, allocations: 15.92 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.3316, allocations: 57.55 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3319, allocations: 131.9 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3319, allocations: 0 / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3319, allocations: 4 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3319, allocations: 0 / 1.061 GB, free: 3.008 MB / 0.8106 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.0006157/0.3325, allocations: 427.9 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3326, allocations: 8.031 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.3326, allocations: 8.844 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3328, allocations: 176.2 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.3328, allocations: 8.312 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3328, allocations: 4.375 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3331, allocations: 81.95 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3331, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3331, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.3331, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.3333, allocations: 51.91 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.3338, allocations: 296.7 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.334, allocations: 54.48 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.762e-05/0.3341, allocations: 36.97 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3341, allocations: 4 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.3343, allocations: 79.38 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.3343, allocations: 0 / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004483/0.3348, allocations: 149.6 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3348, allocations: 51.41 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3349, allocations: 133.7 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.335, allocations: 25.7 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.335, allocations: 88.14 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3351, allocations: 27.8 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.3351, allocations: 17.72 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.3352, allocations: 326.8 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.3353, allocations: 23.98 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.725e-05/0.3354, allocations: 65.14 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.3356, allocations: 101 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3356, allocations: 3.938 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002473/0.3358, allocations: 117.4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3359, allocations: 8 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3359, allocations: 160 / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3359, allocations: 8 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.336, allocations: 11.98 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.336, allocations: 4 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.3361, allocations: 8 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.3361, allocations: 4 kB / 1.063 GB, free: 384 kB / 0.8106 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.0001021/0.3362, allocations: 141.6 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.3363, allocations: 3.906 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.3363, allocations: 12.38 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3363, allocations: 0 / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3363, allocations: 0 / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3363, allocations: 0 / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.3368, allocations: 382.7 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3368, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.3369, allocations: 15.98 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3369, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3369, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3369, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3369, allocations: 4.016 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.3373, allocations: 223.4 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.3373, allocations: 81.02 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.3373, allocations: 8 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.3374, allocations: 4 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.3375, allocations: 7.922 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3375, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.3376, allocations: 91.27 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.336e-06/0.3376, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003459/0.338, allocations: 43.92 kB / 1.064 GB, free: 15.27 MB / 0.8262 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.0003984/0.3384, allocations: 166.4 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.3386, allocations: 76.16 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3387, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3388, allocations: 43.91 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3391, allocations: 9.688 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.3396, allocations: 218.4 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3399, allocations: 0.6887 MB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.958e-05/0.3399, allocations: 4 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.3399, allocations: 7.438 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3399, allocations: 4 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.004573/0.3445, allocations: 1.353 MB / 1.067 GB, free: 12.67 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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