Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.006531/0.006532, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001579/0.00158, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7305, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002436/0.7329, allocations: 1.568 MB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.7341, allocations: 0.7666 MB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.7341, allocations: 0 / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.7342, allocations: 3.938 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.7343, allocations: 5.75 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.7347, allocations: 118.9 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.7349, allocations: 101.9 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.735, allocations: 14.45 kB / 0.9521 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.7351, allocations: 42.95 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.7351, allocations: 56.48 kB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.7352, allocations: 4.062 kB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.7354, allocations: 91.66 kB / 0.9523 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.7354, allocations: 19.86 kB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.7355, allocations: 37.91 kB / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.7357, allocations: 120.3 kB / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7357, allocations: 1.375 kB / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.11e-07/0.7357, allocations: 0 / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.7357, allocations: 0 / 0.9525 GB, free: 6.98 MB / 0.7169 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.0006006/0.7363, allocations: 462.9 kB / 0.9529 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7363, allocations: 9.438 kB / 0.9529 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.7364, allocations: 8.75 kB / 0.9529 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.7365, allocations: 182 kB / 0.9531 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7365, allocations: 10.92 kB / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.7365, allocations: 8.5 kB / 0.9531 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.7368, allocations: 91.28 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.7368, allocations: 0 / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.7368, allocations: 4 kB / 0.9532 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7368, allocations: 1.156 kB / 0.9532 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.737, allocations: 50.72 kB / 0.9532 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.7377, allocations: 342.7 kB / 0.9536 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.7379, allocations: 66.61 kB / 0.9536 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.7381, allocations: 49.42 kB / 0.9537 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.7381, allocations: 1.344 kB / 0.9537 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.7384, allocations: 95.88 kB / 0.9538 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.7384, allocations: 0 / 0.9538 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005614/0.7389, allocations: 184.2 kB / 0.954 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.739, allocations: 62.48 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.7391, allocations: 122.2 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.7391, allocations: 30.98 kB / 0.9542 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.7391, allocations: 91.78 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.7392, allocations: 18.31 kB / 0.9543 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.7392, allocations: 31.86 kB / 0.9543 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.7393, allocations: 324 kB / 0.9546 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.7394, allocations: 36.45 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.7395, allocations: 61.42 kB / 0.9547 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.7397, allocations: 95.52 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7397, allocations: 0 / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002499/0.7399, allocations: 129.6 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7399, allocations: 5.219 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.74, allocations: 1.469 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.74, allocations: 2.594 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.7401, allocations: 18.02 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.7401, allocations: 5.688 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.7402, allocations: 12.67 kB / 0.955 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.7402, allocations: 4.594 kB / 0.955 GB, free: 4.648 MB / 0.7169 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 7.434e-05/0.7403, allocations: 131.2 kB / 0.9551 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.7403, allocations: 7.188 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.7404, allocations: 10.67 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7404, allocations: 1.531 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7404, allocations: 3.938 kB / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7404, allocations: 4 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.7409, allocations: 427.8 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7409, allocations: 3.938 kB / 0.9555 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.741, allocations: 7.672 kB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.741, allocations: 5.094 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.741, allocations: 5.094 kB / 0.9555 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.741, allocations: 3.938 kB / 0.9555 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.741, allocations: 9.172 kB / 0.9555 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.7414, allocations: 251.8 kB / 0.9558 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.7414, allocations: 83.11 kB / 0.9559 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.7415, allocations: 1.062 kB / 0.9559 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.7416, allocations: 8.516 kB / 0.9559 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.7416, allocations: 10.28 kB / 0.9559 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.7416, allocations: 10.42 kB / 0.9559 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.7417, allocations: 101.5 kB / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7417, allocations: 1.156 kB / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003414/0.742, allocations: 38.72 kB / 0.956 GB, free: 3.668 MB / 0.7169 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.0003649/0.7424, allocations: 163.9 kB / 0.9562 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.7427, allocations: 88.3 kB / 0.9563 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7427, allocations: 0 / 0.9563 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.7429, allocations: 50.72 kB / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.7432, allocations: 14.7 kB / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.7437, allocations: 247.8 kB / 0.9566 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.7438, allocations: 0.6897 MB / 0.9572 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.7438, allocations: 11.06 kB / 0.9573 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7438, allocations: 4 kB / 0.9573 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of Templates: time 0.00329/0.7471, allocations: 1.798 MB / 0.959 GB, free: 1.621 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches