Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001753, allocations: 116.6 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.001921/0.001921, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.467/1.467, allocations: 222.9 MB / 241.1 MB, free: 15.21 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.427/2.427, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7137/0.715, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.0027/0.7178, allocations: 1.516 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.7191, allocations: 0.7634 MB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.7192, allocations: 0 / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.7193, allocations: 7.875 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.655e-05/0.7193, allocations: 15.86 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.7199, allocations: 139.6 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.7201, allocations: 107.7 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.7202, allocations: 11.98 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.7203, allocations: 43.91 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.7204, allocations: 55.8 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.7204, allocations: 8 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.7206, allocations: 99.84 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.7207, allocations: 31.91 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.7208, allocations: 39.84 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.721, allocations: 164 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.721, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.721, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7211, allocations: 0 / 1.17 GB, free: 0.8438 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006596/0.7217, allocations: 462.3 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7218, allocations: 12.62 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.7218, allocations: 12.89 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.7219, allocations: 180.2 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.722, allocations: 384 / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.722, allocations: 8.375 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.7223, allocations: 89.94 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7223, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.7223, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.7223, allocations: 3.984 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.7225, allocations: 59.84 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.7233, allocations: 340.7 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.7235, allocations: 58.55 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.7236, allocations: 48.83 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.7237, allocations: 4.094 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.7239, allocations: 99.23 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.7239, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005756/0.7245, allocations: 197.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.7245, allocations: 51.41 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.7247, allocations: 127 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.7247, allocations: 29.7 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.7247, allocations: 100 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.7248, allocations: 11.89 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.7248, allocations: 33.7 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7249, allocations: 330.7 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.725, allocations: 27.98 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.7251, allocations: 65.02 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.7253, allocations: 92.22 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7253, allocations: 4 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002609/0.7256, allocations: 129.5 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7256, allocations: 8 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.7256, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.7257, allocations: 4 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.7258, allocations: 12.08 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.7258, allocations: 8 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.7259, allocations: 11.89 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.7259, allocations: 7.984 kB / 1.173 GB, free: 14 MB / 0.9044 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.574e-05/0.726, allocations: 128.2 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.726, allocations: 7.953 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.7261, allocations: 12.38 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7261, allocations: 4.031 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7261, allocations: 4.062 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.7261, allocations: 89.05 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.7262, allocations: 4 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.7262, allocations: 7.938 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.7263, allocations: 7.984 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003966/0.7267, allocations: 224.9 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004124/0.7271, allocations: 318.7 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000135/0.7273, allocations: 43.97 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.7273, allocations: 96.14 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of Backend: time 2.575e-06/0.7273, allocations: 0 / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006555/0.728, allocations: 194.8 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005116/0.7285, allocations: 0.6331 MB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.004341/0.7329, allocations: 1.735 MB / 1.176 GB, free: 10.43 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0