Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Zhang2012WindowsSouth,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.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_latest_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.001351/0.001351, allocations: 100.1 kB / 15.88 MB, free: 12 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.001339/0.001339, allocations: 200 kB / 16.79 MB, free: 6.828 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 67.91 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.294, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.00292/0.2969, allocations: 1.568 MB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2982, allocations: 0.7362 MB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.2983, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.2983, allocations: 3.938 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.2984, allocations: 15.84 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.2989, allocations: 99.78 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.299, allocations: 71.83 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.2991, allocations: 4 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.2992, allocations: 39.84 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2993, allocations: 39.83 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2994, allocations: 4 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.2996, allocations: 83.91 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.2996, allocations: 19.92 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.2997, allocations: 27.86 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.2999, allocations: 108 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.2999, allocations: 3.938 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2999, allocations: 3.938 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2999, allocations: 0 / 1.055 GB, free: 5.445 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.0007133/0.3006, allocations: 413 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3007, allocations: 11.97 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.3007, allocations: 8.844 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3008, allocations: 184.2 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3009, allocations: 4.375 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3009, allocations: 4.375 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3011, allocations: 77.94 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3011, allocations: 0 / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3011, allocations: 4 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3011, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3013, allocations: 39.91 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.3019, allocations: 312.8 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.302, allocations: 50.55 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.3021, allocations: 32.97 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3021, allocations: 4 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.3023, allocations: 79.31 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3023, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004241/0.3028, allocations: 137.6 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3028, allocations: 55.41 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.303, allocations: 129.8 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.303, allocations: 29.7 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.3031, allocations: 88.14 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3031, allocations: 15.75 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.3031, allocations: 25.7 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3032, allocations: 326.8 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.3033, allocations: 27.98 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-05/0.3034, allocations: 54.48 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3036, allocations: 70.5 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3036, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002359/0.3039, allocations: 117.5 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3039, allocations: 9.781 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3039, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3039, allocations: 4 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.304, allocations: 15.92 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.304, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.3041, allocations: 7.906 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3041, allocations: 7.984 kB / 1.058 GB, free: 2.898 MB / 0.8106 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.0001581/0.3043, allocations: 117.8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.3043, allocations: 8 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.3044, allocations: 12.31 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.3044, allocations: 4 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3044, allocations: 0 / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3044, allocations: 0 / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.3049, allocations: 386.3 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3049, allocations: 4 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.3049, allocations: 7.984 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3049, allocations: 4 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.305, allocations: 3.984 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.305, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.305, allocations: 7.938 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3053, allocations: 215.8 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.3053, allocations: 81.11 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3053, allocations: 0 / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/0.3054, allocations: 11.98 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.3055, allocations: 3.938 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.3055, allocations: 4 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.643e-05/0.3056, allocations: 91.27 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3056, allocations: 0 / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002887/0.3059, allocations: 43.92 kB / 1.059 GB, free: 1.812 MB / 0.8106 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.0003573/0.3062, allocations: 162.2 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.3065, allocations: 75.89 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3065, allocations: 0 / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-05/0.3066, allocations: 31.98 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.3069, allocations: 4 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3073, allocations: 232.7 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3076, allocations: 0.6848 MB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.3076, allocations: 15.42 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3076, allocations: 0 / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of Templates: time 0.003341/0.3109, allocations: 1.603 MB / 1.061 GB, free: 14.96 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches