Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 112 kB / 15.99 MB, free: 6.348 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.001876/0.001876, allocations: 189.7 kB / 16.91 MB, free: 6.188 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.469/1.469, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.626/2.626, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 66.23 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3099, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002751/0.3127, allocations: 1.554 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3139, allocations: 0.7246 MB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.314, allocations: 0 / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.314, allocations: 11.92 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.3141, allocations: 7.938 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.3146, allocations: 107.8 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3147, allocations: 67.84 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3148, allocations: 11.98 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.3149, allocations: 35.84 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.315, allocations: 43.83 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.315, allocations: 8 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.3152, allocations: 95.91 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.3153, allocations: 19.91 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.3153, allocations: 35.8 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3155, allocations: 100 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3156, allocations: 0 / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3156, allocations: 0 / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3156, allocations: 0 / 1.067 GB, free: 12.25 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.0007232/0.3163, allocations: 424.9 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3163, allocations: 12.56 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.3164, allocations: 16.84 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3166, allocations: 176.2 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.3166, allocations: 4.375 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3166, allocations: 8.375 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3168, allocations: 65.97 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3168, allocations: 0 / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3168, allocations: 0 / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3169, allocations: 7.984 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.317, allocations: 35.98 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/0.3176, allocations: 320.7 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3178, allocations: 46.56 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.3179, allocations: 32.97 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3179, allocations: 4 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.3181, allocations: 79.31 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3181, allocations: 0 / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003974/0.3185, allocations: 133.5 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3186, allocations: 55.41 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3187, allocations: 125.8 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.3188, allocations: 25.7 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3188, allocations: 100.1 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3189, allocations: 19.73 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3189, allocations: 29.7 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3191, allocations: 318.8 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.3192, allocations: 23.98 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.3193, allocations: 58.42 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3194, allocations: 74.55 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3194, allocations: 0 / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002339/0.3197, allocations: 105.6 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3197, allocations: 7.984 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3197, allocations: 4 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3197, allocations: 0 / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.3198, allocations: 11.94 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3198, allocations: 400 / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.3199, allocations: 15.89 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3199, allocations: 4 kB / 1.069 GB, free: 9.703 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.0001096/0.3201, allocations: 125.8 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.3201, allocations: 7.906 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.3201, allocations: 16.36 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3201, allocations: 0 / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3201, allocations: 0 / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3201, allocations: 0 / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.3206, allocations: 386.3 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3206, allocations: 0 / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.3207, allocations: 12 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3207, allocations: 0 / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3207, allocations: 7.984 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3207, allocations: 4 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3207, allocations: 3.938 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.321, allocations: 203.4 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.3211, allocations: 85.02 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3211, allocations: 3.984 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.3212, allocations: 12 kB / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3212, allocations: 7.938 kB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3213, allocations: 3.984 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.642e-05/0.3213, allocations: 95.86 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3213, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002888/0.3216, allocations: 40 kB / 1.07 GB, free: 8.609 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.0003687/0.322, allocations: 166.5 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.3223, allocations: 75.88 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3223, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.3224, allocations: 35.92 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.3226, allocations: 10.94 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.3231, allocations: 218.3 kB / 1.071 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3234, allocations: 0.6885 MB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.3234, allocations: 11.44 kB / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3234, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of Templates: time 0.003675/0.3271, allocations: 1.609 MB / 1.073 GB, free: 5.75 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches