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.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.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.001531/0.001531, allocations: 110.1 kB / 16.42 MB, free: 6.023 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.001805/0.001805, allocations: 190 kB / 17.35 MB, free: 5.633 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.788/1.788, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.844/3.844, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00254/0.00254, allocations: 59.91 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9294/0.932, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003605/0.9356, allocations: 1.491 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.9376, allocations: 0.7206 MB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.9376, allocations: 3.938 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.192e-05/0.9377, allocations: 3.938 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.9378, allocations: 19.84 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008155/0.9386, allocations: 115.6 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.9388, allocations: 75.7 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.939, allocations: 15.95 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.9391, allocations: 27.92 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.9393, allocations: 35.83 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.9393, allocations: 8 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.9396, allocations: 95.84 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.9397, allocations: 11.98 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.9398, allocations: 39.8 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.9401, allocations: 139.5 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.9401, allocations: 0 / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9401, allocations: 0 / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.9401, allocations: 0 / 1.211 GB, free: 10.87 MB / 0.9356 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.000879/0.941, allocations: 440.5 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.9411, allocations: 8.031 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.9412, allocations: 8.844 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.9414, allocations: 176.2 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.9414, allocations: 8.312 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.9414, allocations: 8.375 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.9417, allocations: 73.95 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.9417, allocations: 7.922 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.9418, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.9418, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.942, allocations: 35.97 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.9427, allocations: 296.8 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.9429, allocations: 54.5 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.9431, allocations: 32.97 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.9431, allocations: 3.938 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.9434, allocations: 75.38 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/0.9435, allocations: 0 / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005953/0.9441, allocations: 145.5 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.9441, allocations: 55.39 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.9443, allocations: 125.7 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.9443, allocations: 25.7 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.9444, allocations: 96.12 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.9444, allocations: 15.81 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.9445, allocations: 29.7 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9447, allocations: 318.8 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.9448, allocations: 19.98 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.945, allocations: 61.12 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.9453, allocations: 93.02 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9453, allocations: 0 / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003696/0.9457, allocations: 117.4 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.9457, allocations: 11.98 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.9457, allocations: 0 / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.9457, allocations: 4 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.9459, allocations: 8 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.9459, allocations: 4 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.946, allocations: 11.92 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.9461, allocations: 8.156 kB / 1.213 GB, free: 8.27 MB / 0.9356 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.0001286/0.9462, allocations: 127.8 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.9462, allocations: 7.906 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.9463, allocations: 8.375 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.9463, allocations: 7.922 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9463, allocations: 0 / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.9464, allocations: 89.02 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.9464, allocations: 0 / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.9465, allocations: 7.938 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.9466, allocations: 7.984 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004415/0.9471, allocations: 189.2 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004591/0.9475, allocations: 282.8 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001403/0.9477, allocations: 27.98 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.9478, allocations: 103.2 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of Backend: time 4.41e-07/0.9478, allocations: 0 / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009235/0.9487, allocations: 183.2 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007022/0.9495, allocations: 0.6302 MB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of Templates: time 0.005756/0.9552, allocations: 1.46 MB / 1.216 GB, free: 5.07 MB / 0.9356 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 -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