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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00112/0.00112, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009392/0.0009392, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 8 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8361/0.8365, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001807/0.8383, allocations: 1.219 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.8395, allocations: 0.7057 MB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.8395, allocations: 3.938 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.8395, allocations: 4 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.597e-05/0.8396, allocations: 19.84 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.8401, allocations: 103.8 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.8402, allocations: 87.77 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.8403, allocations: 7.984 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.8404, allocations: 43.89 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.8405, allocations: 51.81 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.8405, allocations: 4 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.8407, allocations: 87.84 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.8407, allocations: 19.97 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.8408, allocations: 41.64 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.841, allocations: 109.8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.841, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.841, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.841, allocations: 0 / 1.025 GB, free: 13.55 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.000616/0.8416, allocations: 456 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8417, allocations: 12.55 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.8417, allocations: 7.906 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.8418, allocations: 167 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.8419, allocations: 11.94 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.8419, allocations: 7.938 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.8421, allocations: 97.58 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.8422, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.8422, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8422, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.8424, allocations: 55.95 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.8431, allocations: 352.6 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.8432, allocations: 62.55 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.8434, allocations: 52.83 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.8434, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.8437, allocations: 99.39 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.8437, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005271/0.8442, allocations: 201.6 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.8443, allocations: 51.41 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.8444, allocations: 133.1 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.8444, allocations: 25.7 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.8444, allocations: 100 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.8445, allocations: 19.73 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.8445, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.8446, allocations: 318.8 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.8447, allocations: 31.98 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.8448, allocations: 68.2 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.454e-05/0.8449, allocations: 39.95 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8449, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002484/0.8451, allocations: 141.4 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8452, allocations: 8 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8452, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.8452, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.8453, allocations: 15.98 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8453, allocations: 4 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.8454, allocations: 15.84 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.8454, allocations: 8.078 kB / 1.027 GB, free: 10.8 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.887e-05/0.8455, allocations: 129.7 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.8455, allocations: 7.906 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.8456, allocations: 8.375 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.8456, allocations: 0 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.8456, allocations: 3.938 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8456, allocations: 4 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.8461, allocations: 442.3 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8461, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.8462, allocations: 4.062 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.8462, allocations: 4 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.8462, allocations: 11.98 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8462, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8462, allocations: 48 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.8466, allocations: 255.3 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.8466, allocations: 89 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.8467, allocations: 0 / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.8468, allocations: 12 kB / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.8468, allocations: 3.984 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.8469, allocations: 7.984 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.8469, allocations: 99.27 kB / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.353e-06/0.8469, allocations: 0 / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002885/0.8472, allocations: 43.94 kB / 1.028 GB, free: 9.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.8475, allocations: 160 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.8478, allocations: 99.86 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8479, allocations: 0 / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.848, allocations: 64.08 kB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.8483, allocations: 13.92 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.8487, allocations: 228.9 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.8489, allocations: 0.6887 MB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.849, allocations: 7.984 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.849, allocations: 11.44 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.849, allocations: 0 / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of Templates: time 0.004073/0.8531, allocations: 1.61 MB / 1.031 GB, free: 6.676 MB / 0.7794 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/jenkins/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