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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001334/0.001334, allocations: 102.2 kB / 16.27 MB, free: 6 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.001449/0.001449, allocations: 191 kB / 17.2 MB, free: 5.609 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.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 469.4 MB / 0.7426 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 62.53 kB / 0.9088 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2995, allocations: 159.1 MB / 1.064 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002831/0.3024, allocations: 1.495 MB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3038, allocations: 0.7323 MB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.3039, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.3039, allocations: 7.922 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.304, allocations: 11.88 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.3046, allocations: 119.6 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3048, allocations: 79.77 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.3049, allocations: 12 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.954e-05/0.305, allocations: 31.91 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.3051, allocations: 43.83 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3051, allocations: 4 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3053, allocations: 99.84 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.3054, allocations: 15.92 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.3054, allocations: 31.86 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.3057, allocations: 143.8 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.3057, allocations: 4 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3057, allocations: 0 / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3057, allocations: 0 / 1.067 GB, free: 12.13 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.0006001/0.3063, allocations: 417 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3063, allocations: 12.03 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.3064, allocations: 4.844 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3065, allocations: 176.2 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3066, allocations: 12.31 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.3066, allocations: 8.375 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3068, allocations: 73.97 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3068, allocations: 0 / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3068, allocations: 3.938 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3068, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.307, allocations: 35.97 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.3076, allocations: 312.8 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3077, allocations: 50.5 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.3078, allocations: 36.97 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3078, allocations: 4.062 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.308, allocations: 75.38 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.308, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003808/0.3084, allocations: 145.5 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3085, allocations: 55.41 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.3086, allocations: 113.8 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3086, allocations: 33.7 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.3086, allocations: 92.03 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.3087, allocations: 27.73 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.3087, allocations: 29.7 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.3088, allocations: 322.8 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.3089, allocations: 23.98 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.309, allocations: 46.56 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3092, allocations: 78.48 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3092, allocations: 0 / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000238/0.3094, allocations: 109.6 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3094, allocations: 5.875 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3095, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3095, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.3096, allocations: 23.98 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3096, allocations: 400 / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.3097, allocations: 7.906 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.3097, allocations: 8 kB / 1.069 GB, free: 9.59 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 8.371e-05/0.3098, allocations: 125.7 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.3098, allocations: 11.84 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.3098, allocations: 8.359 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3098, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3098, allocations: 4 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3099, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.3103, allocations: 394.3 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3103, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.3104, allocations: 11.98 kB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3104, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.3104, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3104, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3104, allocations: 3.938 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3107, allocations: 215.4 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.3107, allocations: 81.02 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3107, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.3108, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.3109, allocations: 15.92 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.3109, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.311, allocations: 103.9 kB / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.311, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002999/0.3113, allocations: 36 kB / 1.07 GB, free: 8.496 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.0003301/0.3116, allocations: 165.9 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3119, allocations: 79.89 kB / 1.07 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3119, allocations: 0 / 1.07 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.312, allocations: 35.97 kB / 1.07 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3123, allocations: 14.06 kB / 1.07 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.3128, allocations: 198.2 kB / 1.071 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3131, allocations: 0.6885 MB / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.3132, allocations: 15.44 kB / 1.071 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3132, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of Templates: time 0.004079/0.3173, allocations: 1.615 MB / 1.073 GB, free: 5.645 MB / 0.8419 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