Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_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_latest_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.001385/0.001384, allocations: 107.1 kB / 16.35 MB, free: 5.824 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.00179/0.00179, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.561/2.561, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 64.22 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3501, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00281/0.353, allocations: 1.5 MB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3543, allocations: 0.7399 MB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.3544, allocations: 3.938 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.3544, allocations: 3.938 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.3545, allocations: 11.86 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.355, allocations: 119.6 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3552, allocations: 63.83 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.3553, allocations: 11.94 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.3553, allocations: 39.91 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.3554, allocations: 31.84 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3554, allocations: 8 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.3556, allocations: 91.84 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.3557, allocations: 15.92 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.3557, allocations: 39.84 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3559, allocations: 139.6 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3559, allocations: 3.984 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.356, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.356, 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.0005758/0.3565, allocations: 435.9 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3566, allocations: 12.03 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.3566, allocations: 8.844 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3568, allocations: 184.2 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.3568, allocations: 4.312 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3568, allocations: 8.375 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.357, allocations: 69.97 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.357, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.357, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.357, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.3572, allocations: 35.97 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.3577, allocations: 308.8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3578, allocations: 50.5 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.3579, allocations: 32.97 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3579, allocations: 4 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.3581, allocations: 75.38 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3581, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003869/0.3585, allocations: 141.5 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3586, allocations: 55.39 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.3587, allocations: 117.8 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3587, allocations: 25.7 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.3588, allocations: 104 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.3588, allocations: 15.91 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.3588, allocations: 29.7 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.359, allocations: 318.8 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.359, allocations: 19.98 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.449e-05/0.3591, allocations: 61.12 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3593, allocations: 97 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3593, allocations: 3.938 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002212/0.3595, allocations: 117.4 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3596, allocations: 11.98 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3596, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3596, allocations: 4 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.3597, allocations: 8 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3597, allocations: 4 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.3598, allocations: 12.05 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.3598, allocations: 12 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.000102/0.3599, allocations: 129.6 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.3599, allocations: 11.84 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.3599, allocations: 8.375 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.36, allocations: 3.984 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.36, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.36, allocations: 4 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.3604, allocations: 370.5 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3605, allocations: 3.938 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.3605, allocations: 4 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3605, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3605, allocations: 7.984 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3605, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3605, allocations: 3.938 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.3608, allocations: 211.4 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.3609, allocations: 81.11 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.3609, allocations: 3.984 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.361, allocations: 4 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3611, allocations: 11.92 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3611, allocations: 4 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.085e-05/0.3611, allocations: 95.92 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.402e-06/0.3611, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003169/0.3615, allocations: 39.84 kB / 1.033 GB, free: 11.52 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.0003587/0.3618, allocations: 174.9 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.3621, allocations: 71.89 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3621, allocations: 4.312 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.3622, allocations: 35.98 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.0002774/0.3625, allocations: 12.92 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.3629, allocations: 180.9 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3632, allocations: 0.6885 MB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.3632, allocations: 8 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.3632, allocations: 15.42 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3632, allocations: 0 / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.003955/0.3672, allocations: 1.433 MB / 1.035 GB, free: 8.867 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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