Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001514/0.001514, allocations: 110.3 kB / 15.99 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.001451/0.001451, allocations: 194 kB / 16.91 MB, free: 6.191 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.692/2.692, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.38 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002946/0.3022, allocations: 1.56 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3036, allocations: 0.7207 MB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.3036, allocations: 4 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.3037, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.3037, allocations: 15.84 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.3043, allocations: 107.8 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.3044, allocations: 71.84 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.3045, allocations: 11.98 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.118e-05/0.3046, allocations: 31.91 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.3047, allocations: 39.84 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.3047, allocations: 8 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.3049, allocations: 99.83 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.305, allocations: 19.91 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.305, allocations: 31.86 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3052, allocations: 96.06 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3052, allocations: 4 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3052, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3052, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 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.0006956/0.3059, allocations: 428.9 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.306, allocations: 12.56 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.306, allocations: 8.844 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3062, allocations: 176.2 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3062, allocations: 8.359 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3063, allocations: 4.375 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3065, allocations: 73.97 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3065, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3065, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.3065, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3066, allocations: 35.97 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006498/0.3073, allocations: 316.8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.3074, allocations: 50.5 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/0.3075, allocations: 28.97 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3076, allocations: 8.062 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.3078, allocations: 83.36 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3078, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004156/0.3082, allocations: 137.5 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3083, allocations: 55.41 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3084, allocations: 121.8 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.3085, allocations: 29.7 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.3085, allocations: 88.05 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.3086, allocations: 31.72 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.3086, allocations: 29.7 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3088, allocations: 318.8 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.3089, allocations: 23.98 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.309, allocations: 58.48 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3092, allocations: 74.48 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3092, allocations: 0 / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002542/0.3094, allocations: 105.6 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3095, allocations: 8 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3095, allocations: 3.984 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3095, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.3096, allocations: 12.06 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3096, allocations: 4 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.3097, allocations: 15.89 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3097, allocations: 3.938 kB / 1.069 GB, free: 9.719 MB / 0.8419 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.0001129/0.3098, allocations: 125.2 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.3098, allocations: 3.906 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.3099, allocations: 16.36 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3099, allocations: 0 / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3099, allocations: 4 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3099, allocations: 3.938 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.3104, allocations: 382.3 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3104, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.3104, allocations: 4 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.3105, allocations: 4 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3105, allocations: 4 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3105, allocations: 3.984 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3105, allocations: 7.938 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3108, allocations: 203.4 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.3109, allocations: 81.02 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3109, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.311, allocations: 11.98 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.311, allocations: 11.88 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.311, allocations: 3.984 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.3111, allocations: 103.9 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3111, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003071/0.3114, allocations: 36 kB / 1.07 GB, free: 8.633 MB / 0.8419 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.0003606/0.3118, allocations: 166.4 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.3121, allocations: 79.81 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3121, allocations: 4 kB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3122, allocations: 35.98 kB / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.3124, allocations: 7.078 kB / 1.07 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.3129, allocations: 222.2 kB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3132, allocations: 0.6885 MB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.3133, allocations: 11.44 kB / 1.071 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3133, allocations: 0 / 1.071 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of Templates: time 0.003535/0.3168, allocations: 1.61 MB / 1.073 GB, free: 5.77 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches