Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 114.3 kB / 16.37 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.00103/0.00103, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.498/2.498, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.00211, allocations: 63.59 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3217, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002693/0.3244, allocations: 1.506 MB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3256, allocations: 0.7376 MB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.3257, allocations: 4 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.3258, allocations: 7.875 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.273e-05/0.3258, allocations: 7.922 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.3264, allocations: 119.6 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3265, allocations: 83.7 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3266, allocations: 16 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.3267, allocations: 31.91 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.3268, allocations: 35.89 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3268, allocations: 8 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.327, allocations: 95.84 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.3271, allocations: 23.91 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.3271, allocations: 27.86 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.3273, allocations: 139.6 kB / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.3273, allocations: 0 / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3273, allocations: 0 / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3274, allocations: 4 kB / 1.022 GB, free: 7.031 MB / 0.795 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.0006015/0.328, allocations: 424.9 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.328, allocations: 11.97 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3281, allocations: 8.844 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3282, allocations: 172.2 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3282, allocations: 384 / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3282, allocations: 4.375 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3284, allocations: 81.95 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3284, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3285, allocations: 7.922 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3285, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3286, allocations: 35.98 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.3292, allocations: 316.7 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.3293, allocations: 46.56 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.3294, allocations: 36.97 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3294, allocations: 0 / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.3296, allocations: 83.31 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3296, allocations: 0 / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004033/0.33, allocations: 141.6 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3301, allocations: 59.39 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.3302, allocations: 117.8 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3302, allocations: 25.7 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.3302, allocations: 92.12 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.3303, allocations: 15.75 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.3303, allocations: 33.7 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3305, allocations: 326.7 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.3305, allocations: 23.98 kB / 1.024 GB, free: 4.785 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.3306, allocations: 50.48 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3308, allocations: 70.55 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3308, allocations: 4 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002361/0.331, allocations: 117.5 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3311, allocations: 4 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3311, allocations: 8 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3311, allocations: 0 / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.3312, allocations: 11.94 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3312, allocations: 3.984 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.3313, allocations: 11.91 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3313, allocations: 8.062 kB / 1.024 GB, free: 4.477 MB / 0.795 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 7.732e-05/0.3314, allocations: 118.5 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.3314, allocations: 4 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.3314, allocations: 12.36 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.3315, allocations: 4 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3315, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3315, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.3319, allocations: 386.7 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3319, allocations: 0 / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.332, allocations: 4 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.332, allocations: 3.984 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.332, allocations: 7.984 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.332, allocations: 4 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.332, allocations: 3.938 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3323, allocations: 223.3 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.3323, allocations: 81.11 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3324, allocations: 3.984 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.3324, allocations: 8 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3325, allocations: 7.922 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3325, allocations: 4 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.3326, allocations: 95.86 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3326, allocations: 0 / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002915/0.3329, allocations: 36 kB / 1.025 GB, free: 3.391 MB / 0.795 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.0003099/0.3332, allocations: 156.9 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3334, allocations: 67.89 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3334, allocations: 0 / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.3335, allocations: 36.11 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.3338, allocations: 17.3 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.3342, allocations: 180.3 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.3344, allocations: 0.6885 MB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.3344, allocations: 7.938 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.3345, allocations: 15.44 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.3345, allocations: 0 / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of Templates: time 0.003909/0.3384, allocations: 1.458 MB / 1.027 GB, free: 0.7266 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0