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.0009702/0.0009702, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 176.2 kB / 16.92 MB, free: 6.652 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.258 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.485/2.485, allocations: 390.9 MB / 0.667 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 12 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6629, allocations: 142.4 MB / 0.9557 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001549/0.6645, allocations: 1.236 MB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.6657, allocations: 0.7386 MB / 0.9576 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.6657, allocations: 5 kB / 0.9576 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.6658, allocations: 3.984 kB / 0.9576 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.6658, allocations: 13.06 kB / 0.9577 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.6663, allocations: 118.8 kB / 0.9578 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.6665, allocations: 94.16 kB / 0.9579 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.6666, allocations: 13.77 kB / 0.9579 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.6666, allocations: 46.52 kB / 0.9579 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.6667, allocations: 44.98 kB / 0.958 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.6668, allocations: 11.39 kB / 0.958 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.6669, allocations: 87.23 kB / 0.9581 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.667, allocations: 29.86 kB / 0.9581 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.667, allocations: 58.45 kB / 0.9581 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.6672, allocations: 116.1 kB / 0.9582 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.6672, allocations: 0 / 0.9582 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6672, allocations: 0 / 0.9582 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6672, allocations: 1.25 kB / 0.9582 GB, free: 5.66 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.0005388/0.6678, allocations: 450.4 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.6678, allocations: 9.75 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.6679, allocations: 8.844 kB / 0.9587 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.947e-05/0.668, allocations: 176.9 kB / 0.9589 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.668, allocations: 2.625 kB / 0.9589 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.668, allocations: 8.969 kB / 0.9589 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.6683, allocations: 98.47 kB / 0.959 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6683, allocations: 4 kB / 0.959 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.6683, allocations: 1.281 kB / 0.959 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6683, allocations: 9.438 kB / 0.959 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.6685, allocations: 50.66 kB / 0.959 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.6692, allocations: 353.5 kB / 0.9594 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.6694, allocations: 65.92 kB / 0.9594 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.6696, allocations: 52.45 kB / 0.9595 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.6696, allocations: 1.656 kB / 0.9595 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.6698, allocations: 95.02 kB / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.6698, allocations: 0 / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005605/0.6704, allocations: 204.1 kB / 0.9598 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.6704, allocations: 53.88 kB / 0.9598 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.6705, allocations: 126.4 kB / 0.9599 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.6706, allocations: 31.08 kB / 0.96 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.6706, allocations: 90.8 kB / 0.9601 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.6706, allocations: 30.42 kB / 0.9601 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.6707, allocations: 17.84 kB / 0.9601 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.6707, allocations: 325.5 kB / 0.9604 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.6708, allocations: 31.23 kB / 0.9604 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.895e-05/0.6709, allocations: 71.64 kB / 0.9605 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.6711, allocations: 97.45 kB / 0.9606 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6711, allocations: 0 / 0.9606 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002526/0.6714, allocations: 139.3 kB / 0.9607 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6714, allocations: 7.062 kB / 0.9607 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6714, allocations: 5.359 kB / 0.9607 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6714, allocations: 1.375 kB / 0.9608 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.6715, allocations: 14.94 kB / 0.9608 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6715, allocations: 10.83 kB / 0.9608 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.6716, allocations: 5.5 kB / 0.9608 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.6716, allocations: 8.125 kB / 0.9608 GB, free: 3.332 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.229e-05/0.6717, allocations: 119.3 kB / 0.9609 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.6717, allocations: 8.031 kB / 0.9609 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.6718, allocations: 13.73 kB / 0.9609 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.6718, allocations: 1.375 kB / 0.9609 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6718, allocations: 4 kB / 0.9609 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6718, allocations: 1.375 kB / 0.9609 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.6723, allocations: 440.8 kB / 0.9614 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6723, allocations: 3.984 kB / 0.9614 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.6724, allocations: 4.125 kB / 0.9614 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6724, allocations: 5.375 kB / 0.9614 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.6724, allocations: 5.359 kB / 0.9614 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6724, allocations: 64 / 0.9614 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6724, allocations: 7.938 kB / 0.9614 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.6728, allocations: 253.7 kB / 0.9616 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.6729, allocations: 84.08 kB / 0.9617 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.6729, allocations: 1.344 kB / 0.9617 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.673, allocations: 16.27 kB / 0.9617 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.6731, allocations: 11.58 kB / 0.9617 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.6731, allocations: 2.281 kB / 0.9617 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.6731, allocations: 93.89 kB / 0.9618 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.11e-07/0.6731, allocations: 0 / 0.9618 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003269/0.6735, allocations: 46.89 kB / 0.9619 GB, free: 2.363 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.0003569/0.6738, allocations: 168.5 kB / 0.962 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.6741, allocations: 97.45 kB / 0.9621 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6742, allocations: 0 / 0.9621 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.6743, allocations: 54.22 kB / 0.9622 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.6746, allocations: 15.2 kB / 0.9622 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.675, allocations: 258.5 kB / 0.9624 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.6752, allocations: 0.6895 MB / 0.9631 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.6752, allocations: 11.19 kB / 0.9631 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6752, allocations: 0.9688 kB / 0.9631 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of Templates: time 0.003605/0.6788, allocations: 1.796 MB / 0.9649 GB, free: 320 kB / 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