Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001776/0.001776, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 65.55 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2662, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003387/0.2696, allocations: 1.558 MB / 0.9513 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2711, allocations: 0.7169 MB / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.2712, allocations: 0 / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.622e-05/0.2712, allocations: 11.92 kB / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.848e-05/0.2714, allocations: 7.922 kB / 0.952 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.272, allocations: 111.8 kB / 0.9521 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2721, allocations: 67.78 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2723, allocations: 27.95 kB / 0.9522 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.2724, allocations: 35.84 kB / 0.9522 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.2725, allocations: 39.83 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.2725, allocations: 8 kB / 0.9523 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.2727, allocations: 91.91 kB / 0.9524 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.2728, allocations: 23.91 kB / 0.9524 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.2728, allocations: 27.86 kB / 0.9524 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.2731, allocations: 104.1 kB / 0.9525 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2731, allocations: 3.938 kB / 0.9525 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2731, allocations: 0 / 0.9525 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2731, allocations: 4 kB / 0.9525 GB, free: 6.344 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000693/0.2738, allocations: 420.9 kB / 0.9529 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2738, allocations: 11.97 kB / 0.9529 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.2739, allocations: 8.844 kB / 0.9529 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.274, allocations: 180.2 kB / 0.9531 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.2741, allocations: 8.375 kB / 0.9531 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.2741, allocations: 4.375 kB / 0.9531 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.2743, allocations: 65.97 kB / 0.9532 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2743, allocations: 4 kB / 0.9532 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2743, allocations: 7.984 kB / 0.9532 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2744, allocations: 4 kB / 0.9532 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.2745, allocations: 35.92 kB / 0.9532 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.2752, allocations: 316.7 kB / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.2753, allocations: 50.56 kB / 0.9536 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.2754, allocations: 28.97 kB / 0.9536 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.2755, allocations: 8.062 kB / 0.9536 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.2757, allocations: 75.31 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 4.288e-06/0.2757, allocations: 4 kB / 0.9537 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004439/0.2761, allocations: 137.5 kB / 0.9538 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.2762, allocations: 55.39 kB / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2763, allocations: 117.8 kB / 0.954 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.2763, allocations: 29.7 kB / 0.954 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.2764, allocations: 92.12 kB / 0.9541 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2764, allocations: 23.73 kB / 0.9541 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.2765, allocations: 25.7 kB / 0.9542 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2766, allocations: 322.8 kB / 0.9545 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.2767, allocations: 31.97 kB / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/0.2768, allocations: 46.5 kB / 0.9545 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.277, allocations: 74.55 kB / 0.9546 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.277, allocations: 3.938 kB / 0.9546 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002422/0.2772, allocations: 113.5 kB / 0.9547 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2772, allocations: 4 kB / 0.9547 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2772, allocations: 4.391 kB / 0.9547 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2773, allocations: 0 / 0.9547 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2774, allocations: 11.94 kB / 0.9547 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2774, allocations: 3.984 kB / 0.9548 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.2775, allocations: 11.97 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2775, allocations: 4 kB / 0.9548 GB, free: 3.797 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001017/0.2776, allocations: 123.8 kB / 0.9549 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.2776, allocations: 4 kB / 0.9549 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.2776, allocations: 12.36 kB / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2776, allocations: 0 / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2777, allocations: 0 / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2777, allocations: 0 / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.2781, allocations: 402.2 kB / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2781, allocations: 0 / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.2782, allocations: 4 kB / 0.9553 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2782, allocations: 0 / 0.9553 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2782, allocations: 7.984 kB / 0.9553 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2782, allocations: 0 / 0.9553 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2782, allocations: 7.938 kB / 0.9553 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.2786, allocations: 207.5 kB / 0.9555 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.2786, allocations: 85.02 kB / 0.9556 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.2787, allocations: 3.984 kB / 0.9556 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.2787, allocations: 4 kB / 0.9556 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.2788, allocations: 11.92 kB / 0.9556 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.2788, allocations: 7.984 kB / 0.9556 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.2789, allocations: 91.27 kB / 0.9557 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.2789, allocations: 4 kB / 0.9557 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003097/0.2792, allocations: 40 kB / 0.9557 GB, free: 2.703 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003725/0.2796, allocations: 154.8 kB / 0.9559 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.2799, allocations: 75.88 kB / 0.956 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2799, allocations: 8.062 kB / 0.956 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.28, allocations: 35.92 kB / 0.956 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.2803, allocations: 11.98 kB / 0.956 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.2807, allocations: 218.1 kB / 0.9562 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.281, allocations: 0.6961 MB / 0.9569 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.281, allocations: 15.44 kB / 0.9569 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.281, allocations: 0 / 0.9569 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of Templates: time 0.003614/0.2847, allocations: 1.619 MB / 0.9585 GB, free: 15.82 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches