Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 105.2 kB / 15.98 MB, free: 6.355 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.00213/0.00213, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.39/2.39, allocations: 390.3 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.5 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2727, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002829/0.2756, allocations: 1.562 MB / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2769, allocations: 0.7168 MB / 0.952 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.277, allocations: 0 / 0.952 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.277, allocations: 3.938 kB / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.2771, allocations: 3.938 kB / 0.952 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.2777, allocations: 119.8 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2778, allocations: 71.78 kB / 0.9522 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.2779, allocations: 15.97 kB / 0.9522 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.2781, allocations: 35.91 kB / 0.9522 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.2781, allocations: 43.77 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.2782, allocations: 4 kB / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.2784, allocations: 91.92 kB / 0.9524 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.2784, allocations: 23.97 kB / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.2785, allocations: 31.8 kB / 0.9524 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.2787, allocations: 108 kB / 0.9525 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2787, allocations: 0 / 0.9525 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.756e-06/0.2787, allocations: 4 kB / 0.9525 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.2787, allocations: 0 / 0.9525 GB, free: 6.406 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.0006381/0.2793, allocations: 408.9 kB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2794, allocations: 12.03 kB / 0.9529 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.2794, allocations: 8.844 kB / 0.9529 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2796, allocations: 180.2 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.2796, allocations: 4.375 kB / 0.9531 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2796, allocations: 4.375 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.2798, allocations: 73.97 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2798, allocations: 0 / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2799, allocations: 0 / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.2799, allocations: 0 / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.28, allocations: 39.91 kB / 0.9532 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.2807, allocations: 328.6 kB / 0.9535 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2808, allocations: 46.5 kB / 0.9536 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.2809, allocations: 36.95 kB / 0.9536 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.281, allocations: 4 kB / 0.9536 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.2812, allocations: 75.38 kB / 0.9537 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.2812, allocations: 0 / 0.9537 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004348/0.2817, allocations: 137.5 kB / 0.9538 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.2817, allocations: 59.47 kB / 0.9539 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.2818, allocations: 121.8 kB / 0.954 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.2818, allocations: 33.7 kB / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.2819, allocations: 88.14 kB / 0.9541 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2819, allocations: 15.75 kB / 0.9541 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.282, allocations: 25.7 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2821, allocations: 326.8 kB / 0.9545 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.2822, allocations: 23.98 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2823, allocations: 54.55 kB / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2825, allocations: 70.5 kB / 0.9546 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2825, allocations: 0 / 0.9546 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002417/0.2827, allocations: 117.5 kB / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2827, allocations: 10.41 kB / 0.9547 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2828, allocations: 0 / 0.9547 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2828, allocations: 4 kB / 0.9547 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2829, allocations: 15.92 kB / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2829, allocations: 0 / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.283, allocations: 11.84 kB / 0.9548 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.283, allocations: 7.984 kB / 0.9548 GB, free: 3.863 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 9.519e-05/0.2831, allocations: 125.8 kB / 0.9549 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.2831, allocations: 8 kB / 0.9549 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.2832, allocations: 4.375 kB / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2832, allocations: 0 / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2832, allocations: 4 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2832, allocations: 0 / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.2836, allocations: 390.2 kB / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2837, allocations: 0 / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.2837, allocations: 7.984 kB / 0.9553 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2837, allocations: 4 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.2837, allocations: 0 / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2837, allocations: 0 / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2837, allocations: 3.938 kB / 0.9553 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.284, allocations: 219.9 kB / 0.9555 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.2841, allocations: 81.02 kB / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.2841, allocations: 4 kB / 0.9556 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.2842, allocations: 7.984 kB / 0.9556 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.2843, allocations: 11.88 kB / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2843, allocations: 8 kB / 0.9556 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.129e-05/0.2843, allocations: 91.92 kB / 0.9557 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2843, allocations: 0 / 0.9557 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003084/0.2847, allocations: 39.98 kB / 0.9557 GB, free: 2.773 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.0003558/0.285, allocations: 158 kB / 0.9559 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.2853, allocations: 75.84 kB / 0.956 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2853, allocations: 0 / 0.956 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.892e-05/0.2854, allocations: 35.97 kB / 0.956 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.2857, allocations: 8 kB / 0.956 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.2861, allocations: 226.1 kB / 0.9562 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.2864, allocations: 0.6883 MB / 0.9569 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.2864, allocations: 19.42 kB / 0.9569 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2864, allocations: 0 / 0.9569 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of Templates: time 0.003478/0.2899, allocations: 1.612 MB / 0.9585 GB, free: 15.9 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches