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.001219/0.001219, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001216/0.001216, allocations: 190.5 kB / 16.25 MB, free: 6.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.411/1.411, 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.644/2.644, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.88 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7044, allocations: 151.6 MB / 1.017 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003246/0.7077, allocations: 1.55 MB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.7091, allocations: 0.7168 MB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.7092, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/0.7093, allocations: 7.922 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.7094, allocations: 7.922 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.71, allocations: 111.8 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.7102, allocations: 71.77 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.7103, allocations: 11.98 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.7104, allocations: 31.91 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.7104, allocations: 35.84 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.7105, allocations: 4 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.7107, allocations: 99.84 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.7107, allocations: 23.91 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.7108, allocations: 27.86 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.7111, allocations: 137.8 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7111, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7111, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.7111, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 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.0006695/0.7118, allocations: 442.5 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7118, allocations: 8.031 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.7119, allocations: 12.84 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.712, allocations: 172.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.712, allocations: 12.31 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.7121, allocations: 384 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.7123, allocations: 73.91 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7123, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.7123, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.7123, allocations: 4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.7125, allocations: 47.91 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.713, allocations: 304.7 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.7132, allocations: 46.5 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.983e-05/0.7133, allocations: 32.97 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.7133, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.7135, allocations: 83.36 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.7136, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000433/0.714, allocations: 137.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.714, allocations: 59.39 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.7142, allocations: 117.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.7142, allocations: 41.69 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.7142, allocations: 84.14 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.7143, allocations: 15.81 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.7143, allocations: 25.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7144, allocations: 326.8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.7145, allocations: 19.98 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/0.7146, allocations: 61.14 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.7148, allocations: 93.06 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7148, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002539/0.7151, allocations: 113.4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.7151, allocations: 7.938 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7151, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.7151, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.7152, allocations: 11.98 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.7153, allocations: 8.156 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.7153, allocations: 15.84 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.7154, allocations: 7.938 kB / 1.022 GB, free: 13.46 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.0001097/0.7155, allocations: 123.7 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.7155, allocations: 7.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.7155, allocations: 8.375 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7155, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7156, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7156, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.716, allocations: 378.4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.716, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.7161, allocations: 7.984 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7161, allocations: 11.91 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.7161, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.7161, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7161, allocations: 3.938 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.7164, allocations: 207.5 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.7165, allocations: 84.95 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.7165, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.7166, allocations: 8 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.7167, allocations: 15.92 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.7167, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.7167, allocations: 99.27 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7168, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000322/0.7171, allocations: 39.98 kB / 1.023 GB, free: 12.37 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.0003678/0.7175, allocations: 152.8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.7177, allocations: 75.97 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7177, allocations: 3.938 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.7178, allocations: 31.98 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.7181, allocations: 18.58 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.7186, allocations: 209.1 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.7188, allocations: 0.6846 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.7189, allocations: 3.984 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.7189, allocations: 11.44 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7189, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.004356/0.7233, allocations: 1.4 MB / 1.025 GB, free: 9.746 MB / 0.7794 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/jenkins/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