Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001534/0.001535, allocations: 115.8 kB / 16.42 MB, free: 6.48 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.001655/0.001655, allocations: 186.6 kB / 17.35 MB, free: 5.754 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.319/1.319, 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 10.1.1-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.88 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6955/0.6976, allocations: 151.6 MB / 1.167 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002583/0.7002, allocations: 1.5 MB / 1.169 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.7015, allocations: 0.7284 MB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.7016, allocations: 0 / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.7016, allocations: 3.938 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.7017, allocations: 7.875 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.7024, allocations: 123.5 kB / 1.17 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.7025, allocations: 67.78 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.7026, allocations: 16 kB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.7027, allocations: 39.83 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.7028, allocations: 35.78 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.7028, allocations: 8 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.703, allocations: 91.91 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.7031, allocations: 11.98 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.7032, allocations: 35.8 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.7034, allocations: 136.5 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.7034, allocations: 0 / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7035, allocations: 4 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.7035, allocations: 0 / 1.17 GB, free: 1.219 MB / 0.8887 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.0006492/0.7041, allocations: 450.4 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7042, allocations: 16.02 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.7042, allocations: 8.891 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.7044, allocations: 164.3 kB / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.7044, allocations: 4.375 kB / 1.171 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.7044, allocations: 4.375 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.7046, allocations: 81.91 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.7046, allocations: 0 / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.7046, allocations: 0 / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.7047, allocations: 3.984 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.7048, allocations: 31.98 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.7053, allocations: 296.7 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.7054, allocations: 58.55 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.7055, allocations: 28.92 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.7056, allocations: 12.05 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.7058, allocations: 75.36 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/0.7058, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004434/0.7062, allocations: 141.5 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.7063, allocations: 59.34 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.7064, allocations: 125.8 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.7064, allocations: 25.7 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.7064, allocations: 96.09 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.7065, allocations: 7.906 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.7065, allocations: 33.7 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7066, allocations: 326.8 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.7067, allocations: 19.98 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.7068, allocations: 57.14 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.707, allocations: 97.06 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.707, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002355/0.7073, allocations: 113.6 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.7073, allocations: 12.03 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7073, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.7073, allocations: 3.938 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.7074, allocations: 19.92 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7074, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.7075, allocations: 11.94 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.7075, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 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.0001025/0.7076, allocations: 129.8 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.7077, allocations: 15.89 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.7077, allocations: 4.375 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.7077, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7077, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.7078, allocations: 89.06 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.7078, allocations: 3.938 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.7079, allocations: 11.92 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.7079, allocations: 3.984 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003107/0.7082, allocations: 188.9 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003218/0.7086, allocations: 286.7 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.512e-05/0.7087, allocations: 31.97 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.7087, allocations: 91.28 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of Backend: time 4.51e-07/0.7087, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006463/0.7094, allocations: 190.5 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004649/0.7099, allocations: 0.6147 MB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.004109/0.714, allocations: 1.434 MB / 1.175 GB, free: 11.45 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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