Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001864/0.001864, allocations: 195.5 kB / 16.14 MB, free: 6.738 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.573/1.573, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.992/2.992, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8074, allocations: 151.6 MB / 1.017 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003486/0.811, allocations: 1.566 MB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.8125, allocations: 0.7829 MB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.8126, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.487e-05/0.8127, allocations: 3.938 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.8127, allocations: 3.938 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.8133, allocations: 115.8 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.8135, allocations: 91.75 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.8136, allocations: 19.98 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.8137, allocations: 43.84 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.8138, allocations: 47.81 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.8138, allocations: 4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.8141, allocations: 95.84 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.8141, allocations: 19.95 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.8142, allocations: 39.78 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.8145, allocations: 157.8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8145, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8145, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8145, allocations: 0 / 1.02 GB, free: 15.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007966/0.8153, allocations: 462.6 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8154, allocations: 12.03 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.8154, allocations: 8.844 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.8156, allocations: 180.2 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.8156, allocations: 12.38 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.8157, allocations: 4.375 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.8159, allocations: 85.94 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.816, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.816, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.816, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.8162, allocations: 51.89 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/0.8171, allocations: 340.7 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.8173, allocations: 62.58 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.8174, allocations: 40.83 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.8174, allocations: 8.156 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.8177, allocations: 95.34 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.8178, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006178/0.8184, allocations: 177.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.8184, allocations: 59.33 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.8186, allocations: 125.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.8186, allocations: 29.7 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.8187, allocations: 95.98 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.8187, allocations: 19.73 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.8188, allocations: 33.7 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.819, allocations: 322.8 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.8191, allocations: 27.98 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.8192, allocations: 76.14 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.8194, allocations: 92.2 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8194, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000293/0.8197, allocations: 141.3 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.8198, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8198, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.8198, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.8199, allocations: 11.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8199, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/0.82, allocations: 8.078 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.8201, allocations: 11.94 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001264/0.8202, allocations: 121.8 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.8202, allocations: 7.906 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.8203, allocations: 20.3 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8203, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8203, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8203, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.821, allocations: 430.3 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.821, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.821, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.821, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.8211, allocations: 3.984 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.8211, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8211, allocations: 3.938 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.8215, allocations: 243.8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.8216, allocations: 88.95 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.8216, allocations: 3.938 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.8217, allocations: 11.98 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.8218, allocations: 11.92 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.8218, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.8219, allocations: 91.27 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8219, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003607/0.8223, allocations: 43.98 kB / 1.023 GB, free: 11.94 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004424/0.8227, allocations: 168.5 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.823, allocations: 91.89 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8231, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.8232, allocations: 47.97 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.8235, allocations: 11.94 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.8241, allocations: 225.9 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.8244, allocations: 0.6926 MB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.385e-05/0.8245, allocations: 4 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.8245, allocations: 7.438 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 8.81e-07/0.8245, allocations: 4 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of Templates: time 0.005229/0.8298, allocations: 1.638 MB / 1.026 GB, free: 9.02 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0