Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.001372/0.001372, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001487/0.001487, allocations: 198.4 kB / 16.26 MB, free: 6.629 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.494/1.494, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.763/2.763, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.86 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6656/0.6676, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002861/0.6705, allocations: 1.558 MB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.6719, allocations: 0.709 MB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.672, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/0.672, allocations: 3.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.258e-05/0.6721, allocations: 11.92 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.6727, allocations: 115.7 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.6728, allocations: 67.78 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.6729, allocations: 11.98 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.673, allocations: 31.86 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.6731, allocations: 35.83 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.6731, allocations: 12 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.6733, allocations: 95.84 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.6734, allocations: 15.92 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.35e-05/0.6735, allocations: 31.94 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.6738, allocations: 133.6 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6738, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.143e-06/0.6738, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.6739, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 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.0007859/0.6747, allocations: 454.5 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.6747, allocations: 8.031 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.6748, allocations: 8.844 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.6749, allocations: 172.3 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.6749, allocations: 4.312 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.675, allocations: 8.375 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.6752, allocations: 69.97 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6752, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.6752, allocations: 3.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6753, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.6754, allocations: 35.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.676, allocations: 300.7 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.6762, allocations: 54.48 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.6763, allocations: 36.97 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.6763, allocations: 7.922 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.6767, allocations: 71.38 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.664e-06/0.6767, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004565/0.6771, allocations: 141.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.6772, allocations: 51.41 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.6773, allocations: 129.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.6774, allocations: 25.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.6775, allocations: 92.14 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.6775, allocations: 11.81 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.6775, allocations: 29.7 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6777, allocations: 322.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.6778, allocations: 23.98 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.6779, allocations: 61.14 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.6781, allocations: 97 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.6782, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000235/0.6784, allocations: 109.4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6784, allocations: 8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6784, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6785, allocations: 8.094 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.6786, allocations: 15.98 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.6786, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.6786, allocations: 15.84 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.6787, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 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.0001226/0.6788, allocations: 125.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.6788, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.6789, allocations: 12.38 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6789, allocations: 11.94 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6789, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6789, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.6794, allocations: 378.4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6794, allocations: 3.938 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.6795, allocations: 7.984 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6795, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.6796, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6796, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.6796, allocations: 8.328 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.6799, allocations: 207.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.68, allocations: 88.95 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.68, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.6801, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.6802, allocations: 11.92 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.6802, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.118e-05/0.6803, allocations: 95.27 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6803, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000325/0.6806, allocations: 39.98 kB / 1.023 GB, free: 12.16 MB / 0.7794 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.0003896/0.681, allocations: 165.2 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.6813, allocations: 79.89 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.6813, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.6814, allocations: 35.97 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.6817, allocations: 5.266 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.6822, allocations: 205.2 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.6826, allocations: 0.6923 MB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.191e-05/0.6827, allocations: 4 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.6827, allocations: 11.44 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.6827, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.004782/0.6875, allocations: 1.401 MB / 1.025 GB, free: 9.539 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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