Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 106.5 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.001595/0.001595, allocations: 191.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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.28/2.28, allocations: 390.2 MB / 0.665 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 70.83 kB / 0.8127 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.271, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002811/0.2738, allocations: 1.557 MB / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2751, allocations: 0.7169 MB / 0.952 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.2752, allocations: 3.938 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.2752, allocations: 3.984 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/0.2753, allocations: 7.922 kB / 0.952 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.2759, allocations: 107.8 kB / 0.9521 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.276, allocations: 87.69 kB / 0.9522 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.2761, allocations: 11.98 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.2762, allocations: 35.86 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.2763, allocations: 43.81 kB / 0.9523 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.2763, allocations: 4 kB / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.2765, allocations: 99.84 kB / 0.9524 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.2766, allocations: 11.98 kB / 0.9524 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.2766, allocations: 39.78 kB / 0.9524 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.2768, allocations: 104.1 kB / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2768, allocations: 0 / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2768, allocations: 0 / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.2768, allocations: 0 / 0.9525 GB, free: 6.371 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.0006574/0.2775, allocations: 416.9 kB / 0.9529 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2776, allocations: 12.03 kB / 0.9529 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.2776, allocations: 4.844 kB / 0.9529 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2777, allocations: 176.2 kB / 0.9531 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.2778, allocations: 16.36 kB / 0.9531 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.2778, allocations: 8.359 kB / 0.9531 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.278, allocations: 77.89 kB / 0.9532 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.278, allocations: 0 / 0.9532 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.278, allocations: 4 kB / 0.9532 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.278, allocations: 0 / 0.9532 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.2782, allocations: 43.91 kB / 0.9532 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.2788, allocations: 316.7 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2789, allocations: 50.5 kB / 0.9536 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.279, allocations: 32.97 kB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.279, allocations: 0 / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.2792, allocations: 75.38 kB / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2792, allocations: 4 kB / 0.9537 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003798/0.2796, allocations: 141.6 kB / 0.9538 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2797, allocations: 59.34 kB / 0.9539 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.2798, allocations: 113.8 kB / 0.954 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2798, allocations: 33.7 kB / 0.954 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.2798, allocations: 92.12 kB / 0.9541 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.2799, allocations: 19.75 kB / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.2799, allocations: 25.7 kB / 0.9542 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.28, allocations: 322.8 kB / 0.9545 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.2801, allocations: 27.97 kB / 0.9545 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.2802, allocations: 46.56 kB / 0.9545 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.2804, allocations: 78.48 kB / 0.9546 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2804, allocations: 0 / 0.9546 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002306/0.2806, allocations: 117.5 kB / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2807, allocations: 4 kB / 0.9547 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2807, allocations: 0 / 0.9547 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2807, allocations: 8 kB / 0.9547 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.2808, allocations: 15.98 kB / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2808, allocations: 0 / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.2809, allocations: 11.84 kB / 0.9548 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.2809, allocations: 4 kB / 0.9548 GB, free: 3.812 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.257e-05/0.281, allocations: 125.7 kB / 0.9549 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.281, allocations: 7.984 kB / 0.9549 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.2811, allocations: 4.375 kB / 0.9549 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2811, allocations: 4 kB / 0.9549 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2811, allocations: 0 / 0.9549 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2811, allocations: 4 kB / 0.9549 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.2815, allocations: 386.3 kB / 0.9553 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2815, allocations: 0 / 0.9553 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.2816, allocations: 7.938 kB / 0.9553 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2816, allocations: 0 / 0.9553 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2816, allocations: 3.984 kB / 0.9553 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2816, allocations: 4 kB / 0.9553 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2816, allocations: 3.938 kB / 0.9553 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.2819, allocations: 204 kB / 0.9555 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.282, allocations: 85 kB / 0.9556 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.282, allocations: 4 kB / 0.9556 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.2821, allocations: 4 kB / 0.9556 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.2821, allocations: 11.92 kB / 0.9556 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2822, allocations: 12 kB / 0.9556 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.2822, allocations: 91.27 kB / 0.9557 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2822, allocations: 0 / 0.9557 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002899/0.2825, allocations: 36 kB / 0.9557 GB, free: 2.734 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.0003231/0.2828, allocations: 166.4 kB / 0.9559 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.2831, allocations: 79.89 kB / 0.956 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2831, allocations: 3.938 kB / 0.956 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.2832, allocations: 31.98 kB / 0.956 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.2834, allocations: 11.98 kB / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.2839, allocations: 222.2 kB / 0.9562 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.2841, allocations: 0.6936 MB / 0.9569 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.2841, allocations: 11.44 kB / 0.9569 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.2841, allocations: 0 / 0.9569 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of Templates: time 0.003337/0.2875, allocations: 1.625 MB / 0.9585 GB, free: 15.84 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches