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.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00148/0.001481, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.681/2.681, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6891, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002899/0.6921, allocations: 1.584 MB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.6934, allocations: 0.7675 MB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.6935, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.6936, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.6936, allocations: 15.86 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.6941, allocations: 123.7 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.6943, allocations: 91.7 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.6944, allocations: 12 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.6945, allocations: 35.89 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.6946, allocations: 55.8 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.6946, allocations: 8 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.6948, allocations: 91.84 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.6948, allocations: 19.92 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.6949, allocations: 43.78 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.6952, allocations: 161.6 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6952, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6952, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.6952, allocations: 0 / 1.02 GB, free: 15.82 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.0007369/0.6959, allocations: 454.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.696, allocations: 8.031 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.6961, allocations: 16.84 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.6962, allocations: 176.2 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.6962, allocations: 12.25 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.6963, allocations: 8.359 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.6965, allocations: 85.94 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6966, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.6966, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.6966, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.6968, allocations: 43.97 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.6976, allocations: 352.6 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.6977, allocations: 54.55 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.6979, allocations: 48.78 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.6979, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.6983, allocations: 95.38 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.6983, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005866/0.6989, allocations: 181.9 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.6989, allocations: 63.39 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.6991, allocations: 125.5 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.6991, allocations: 33.7 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.6992, allocations: 88 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.6992, allocations: 23.73 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.6993, allocations: 33.7 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6994, allocations: 318.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.6995, allocations: 35.97 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.6996, allocations: 64.22 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.6998, allocations: 96.2 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6998, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002547/0.7001, allocations: 133.4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7001, allocations: 8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7001, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.7001, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.7003, allocations: 23.92 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.7003, allocations: 8.156 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.7004, allocations: 8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.7004, allocations: 4 kB / 1.022 GB, free: 13 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 9.799e-05/0.7005, allocations: 131.8 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.7005, allocations: 7.906 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.7006, allocations: 4.375 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7006, allocations: 7.938 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7006, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7006, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.7012, allocations: 426.4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7012, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.7012, allocations: 11.98 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7012, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.7013, allocations: 3.938 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.7013, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7013, allocations: 11.88 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.7017, allocations: 243.4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.7018, allocations: 85.02 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.7018, allocations: 48 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.7019, allocations: 7.984 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.702, allocations: 15.92 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.702, allocations: 7.984 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.7021, allocations: 95.27 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7021, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003092/0.7024, allocations: 40 kB / 1.023 GB, free: 11.82 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.0003591/0.7027, allocations: 159.4 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.7031, allocations: 95.88 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7032, allocations: 3.938 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.7033, allocations: 43.97 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.7036, allocations: 15.98 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.7041, allocations: 219 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.7044, allocations: 0.6926 MB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.555e-05/0.7045, allocations: 8 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.7045, allocations: 15.42 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.7045, allocations: 0 / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.0046/0.7091, allocations: 1.643 MB / 1.026 GB, free: 8.887 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=480 -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