Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 92.16 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.001459/0.001459, allocations: 172.9 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 8.719 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.293, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002009/0.2951, allocations: 1.221 MB / 1.061 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2965, allocations: 0.7167 MB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.2966, allocations: 4 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.2966, allocations: 4 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.2967, allocations: 15.84 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.2973, allocations: 107.7 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2974, allocations: 63.84 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2975, allocations: 8 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2977, allocations: 35.89 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.2978, allocations: 31.84 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2978, allocations: 8 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.298, allocations: 91.84 kB / 1.062 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.298, allocations: 11.92 kB / 1.062 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.2981, allocations: 57.55 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2983, allocations: 100 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2983, allocations: 0 / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2983, allocations: 0 / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2984, allocations: 0 / 1.062 GB, free: 2.504 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.0006372/0.299, allocations: 405.1 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2991, allocations: 15.97 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.2991, allocations: 4.844 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2992, allocations: 192 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.2993, allocations: 4.375 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.2993, allocations: 8.375 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.2995, allocations: 69.97 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2995, allocations: 4 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2995, allocations: 0 / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2995, allocations: 4 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.2997, allocations: 43.91 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006293/0.3003, allocations: 328.6 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3005, allocations: 46.56 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.3006, allocations: 36.95 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.3006, allocations: 4 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.3008, allocations: 87.44 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.3009, allocations: 0 / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004209/0.3013, allocations: 145.6 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3013, allocations: 55.41 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3014, allocations: 125.7 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3015, allocations: 25.7 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.3015, allocations: 92.14 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3016, allocations: 11.75 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3016, allocations: 21.7 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3017, allocations: 322.8 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.3018, allocations: 35.97 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.919e-05/0.3019, allocations: 46.56 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.3021, allocations: 90.47 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3021, allocations: 3.938 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002791/0.3024, allocations: 117.5 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3024, allocations: 5.562 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3024, allocations: 4 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3025, allocations: 4.062 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.3026, allocations: 11.98 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3026, allocations: 4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.3027, allocations: 7.938 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3027, allocations: 4 kB / 1.064 GB, free: 15.92 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 9.874e-05/0.3028, allocations: 117.8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.3028, allocations: 11.91 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.3028, allocations: 16.34 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3028, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3029, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3029, allocations: 4 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.3033, allocations: 390.3 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3034, allocations: 0 / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.3034, allocations: 12 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3034, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3034, allocations: 7.984 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3034, allocations: 480 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3034, allocations: 3.938 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.3037, allocations: 219.4 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.3038, allocations: 81.02 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3038, allocations: 11.92 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.3039, allocations: 4 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.304, allocations: 11.86 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.304, allocations: 4 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.848e-05/0.3041, allocations: 95.27 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3041, allocations: 0 / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003074/0.3044, allocations: 32 kB / 1.065 GB, free: 14.82 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.0003627/0.3048, allocations: 162 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.305, allocations: 79.89 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.305, allocations: 4.125 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3051, allocations: 39.97 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3054, allocations: 7.984 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.3059, allocations: 230.9 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3062, allocations: 0.6887 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.3062, allocations: 15.42 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3062, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.003843/0.3101, allocations: 1.603 MB / 1.068 GB, free: 11.94 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches