Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001212/0.001212, allocations: 116.3 kB / 16.42 MB, free: 6.02 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.001346/0.001346, allocations: 185.2 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.89 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6682, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002195/0.6704, allocations: 1.495 MB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.6715, allocations: 0.7266 MB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.6715, allocations: 0.7188 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.6716, allocations: 5.938 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.6716, allocations: 15 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.6721, allocations: 115.1 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.6722, allocations: 73.28 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.6723, allocations: 11.78 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.585e-05/0.6724, allocations: 34.81 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.6724, allocations: 33 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.6725, allocations: 5.656 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.6727, allocations: 93.52 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.6727, allocations: 18.64 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.6727, allocations: 28.16 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.673, allocations: 139.6 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.673, allocations: 0 / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.673, allocations: 0.75 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.673, allocations: 0 / 1.091 GB, free: 3.773 MB / 0.8575 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.0004692/0.6735, allocations: 449.2 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.6735, allocations: 8.906 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.6736, allocations: 8.953 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.663e-05/0.6736, allocations: 185.4 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.6737, allocations: 7.375 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.6737, allocations: 4.297 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.6739, allocations: 69.11 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6739, allocations: 0 / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.6739, allocations: 5.578 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.6739, allocations: 6.031 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.674, allocations: 34.75 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.6744, allocations: 295.7 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.6746, allocations: 45.64 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.6747, allocations: 35.77 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.6747, allocations: 1.547 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.6749, allocations: 81.33 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.6749, allocations: 0 / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003783/0.6753, allocations: 137 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.6753, allocations: 54.14 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.6754, allocations: 127.1 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.6754, allocations: 30.61 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.6754, allocations: 92.08 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.6754, allocations: 11.8 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.6755, allocations: 29.53 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.6755, allocations: 323.1 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.6756, allocations: 24.75 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.6757, allocations: 60.64 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.6759, allocations: 97.66 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6759, allocations: 0.875 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002131/0.6761, allocations: 112 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6761, allocations: 6.922 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6761, allocations: 1.031 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6761, allocations: 2.156 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.6762, allocations: 16.97 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.6762, allocations: 6.953 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.6763, allocations: 17.69 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6763, allocations: 4.125 kB / 1.094 GB, free: 1.703 MB / 0.8575 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 6.089e-05/0.6764, allocations: 120.5 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.6764, allocations: 7.312 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.6764, allocations: 10.73 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.6765, allocations: 0.6562 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6765, allocations: 4.688 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.6765, allocations: 79.88 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.6765, allocations: 1.672 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.6766, allocations: 8.344 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.6766, allocations: 17.44 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000285/0.6769, allocations: 190.5 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002642/0.6772, allocations: 281.8 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.874e-05/0.6773, allocations: 38.58 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.6773, allocations: 91.98 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of Backend: time 6.61e-07/0.6773, allocations: 0.5938 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006052/0.678, allocations: 185.2 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003294/0.6783, allocations: 0.6286 MB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of Templates: time 0.004079/0.6824, allocations: 1.421 MB / 1.097 GB, free: 136 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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