Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001096/0.001096, allocations: 92.16 kB / 16.02 MB, free: 76 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.001523/0.001523, allocations: 183.6 kB / 16.92 MB, free: 6.926 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.655/2.655, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003123, allocations: 9.125 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2698, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001596/0.2714, allocations: 1.213 MB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2727, allocations: 0.7323 MB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.2727, allocations: 0 / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.2728, allocations: 4 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.2728, allocations: 15.8 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.2733, allocations: 107.8 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2734, allocations: 59.84 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.2735, allocations: 12 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.2736, allocations: 31.89 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.2737, allocations: 35.84 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2737, allocations: 8 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2739, allocations: 87.84 kB / 1.062 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.274, allocations: 19.91 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.274, allocations: 53.56 kB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.2742, allocations: 96.03 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2742, allocations: 4 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2742, allocations: 0 / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.2742, allocations: 0 / 1.062 GB, free: 2.473 MB / 0.8106 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.0005609/0.2748, allocations: 409.1 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2749, allocations: 11.97 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.2749, allocations: 8.844 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.275, allocations: 184.1 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.2751, allocations: 384 / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.2751, allocations: 8.375 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.2753, allocations: 73.97 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2753, allocations: 4 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2753, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2753, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.2755, allocations: 43.97 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.276, allocations: 324.7 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.2762, allocations: 50.5 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.2763, allocations: 36.95 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.2763, allocations: 4 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.2765, allocations: 87.31 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2765, allocations: 0 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004027/0.2769, allocations: 153.6 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.277, allocations: 51.41 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.2771, allocations: 129.7 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2771, allocations: 25.7 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.2771, allocations: 92.14 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.2772, allocations: 19.81 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.2772, allocations: 21.7 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.2773, allocations: 318.8 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.2774, allocations: 39.97 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/0.2775, allocations: 46.56 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.2777, allocations: 86.42 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2777, allocations: 0 / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000253/0.278, allocations: 117.7 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.278, allocations: 8 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.278, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.278, allocations: 8.062 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.2781, allocations: 15.98 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2781, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.2782, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.2782, allocations: 7.938 kB / 1.064 GB, free: 15.88 MB / 0.8262 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 8.251e-05/0.2783, allocations: 117.8 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.2783, allocations: 7.906 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.2784, allocations: 20.34 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2784, allocations: 4 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2784, allocations: 0 / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2784, allocations: 0 / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.2788, allocations: 390.3 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2788, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.2789, allocations: 12 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2789, allocations: 0 / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2789, allocations: 3.984 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2789, allocations: 0 / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2789, allocations: 3.938 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.2792, allocations: 215.4 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.2793, allocations: 85.02 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.2793, allocations: 3.984 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.2794, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.2794, allocations: 15.86 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.2794, allocations: 0 / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.2795, allocations: 95.27 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2795, allocations: 3.938 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003012/0.2798, allocations: 36 kB / 1.065 GB, free: 14.78 MB / 0.8262 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.0003582/0.2802, allocations: 163 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.2804, allocations: 87.86 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2804, allocations: 4.125 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.2805, allocations: 31.98 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2808, allocations: 10.38 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.2814, allocations: 234.9 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.2817, allocations: 0.6887 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2817, allocations: 11.42 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of SimCode: time 7.21e-07/0.2817, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.004241/0.286, allocations: 1.602 MB / 1.068 GB, free: 11.91 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches