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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001512/0.001512, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001541/0.001541, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.602/2.602, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002015, allocations: 63.84 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3671, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00332/0.3705, allocations: 1.507 MB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.3719, allocations: 0.7282 MB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.3719, allocations: 0 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.372, allocations: 7.922 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.3721, allocations: 15.86 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.3727, allocations: 115.6 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3728, allocations: 67.83 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3729, allocations: 16 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.373, allocations: 35.86 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.3731, allocations: 35.83 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3731, allocations: 8 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.3733, allocations: 87.89 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.3734, allocations: 19.92 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.3734, allocations: 23.88 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.3737, allocations: 147.5 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3737, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3737, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3737, allocations: 0 / 1.029 GB, free: 15.21 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.0006349/0.3743, allocations: 436.1 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3744, allocations: 8.031 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.3744, allocations: 12.84 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3746, allocations: 180.2 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3746, allocations: 384 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.3746, allocations: 8.312 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3748, allocations: 85.89 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3748, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3749, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3749, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.375, allocations: 35.97 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.3755, allocations: 292.8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3756, allocations: 54.5 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/0.3757, allocations: 40.97 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3757, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.3759, allocations: 75.38 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3759, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.3763, allocations: 153.8 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.3764, allocations: 55.41 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.3765, allocations: 117.8 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3765, allocations: 25.7 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.3765, allocations: 96.03 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.3766, allocations: 15.84 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.3766, allocations: 29.7 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3767, allocations: 322.8 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/0.3768, allocations: 23.97 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/0.3769, allocations: 61.14 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3771, allocations: 96.98 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3771, allocations: 4 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000213/0.3773, allocations: 109.6 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3773, allocations: 12 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3774, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3774, allocations: 7.938 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.3775, allocations: 11.98 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3775, allocations: 4 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.3775, allocations: 7.906 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3776, allocations: 4 kB / 1.032 GB, free: 12.6 MB / 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.0001014/0.3777, allocations: 137.6 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.3777, allocations: 7.906 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.3777, allocations: 8.359 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3777, allocations: 4 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3777, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3777, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.3782, allocations: 378.5 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3782, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.3782, allocations: 3.938 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3783, allocations: 8 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3783, allocations: 7.922 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3783, allocations: 0 / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3783, allocations: 3.938 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.3786, allocations: 199.4 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3786, allocations: 85.09 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3786, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.3787, allocations: 12 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3788, allocations: 11.92 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3788, allocations: 4 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.3789, allocations: 95.86 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3789, allocations: 3.938 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003006/0.3792, allocations: 43.91 kB / 1.033 GB, free: 11.51 MB / 0.8106 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.0003104/0.3795, allocations: 156.1 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3797, allocations: 75.89 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3797, allocations: 0 / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.3798, allocations: 35.97 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3801, allocations: 16.23 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.3805, allocations: 180.9 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.3808, allocations: 0.6846 MB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.3808, allocations: 7.984 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.3809, allocations: 11.44 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3809, allocations: 0 / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.003856/0.3847, allocations: 1.441 MB / 1.035 GB, free: 8.867 MB / 0.8106 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 -s cvode -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/jenkins1/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