Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007404/0.00741, allocations: 104.3 kB / 15.74 MB, free: 6.496 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.00149/0.00149, allocations: 191.5 kB / 16.67 MB, free: 6.379 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.75 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3207, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003044/0.3238, allocations: 1.501 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3253, allocations: 0.7259 MB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.3253, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.3254, allocations: 7.875 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.3255, allocations: 15.86 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.3261, allocations: 115.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3262, allocations: 71.83 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3263, allocations: 23.98 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.3264, allocations: 35.84 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.3264, allocations: 39.83 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3265, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.3267, allocations: 95.91 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.3267, allocations: 19.92 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.3267, allocations: 35.84 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.327, allocations: 143.5 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.327, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.327, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.327, allocations: 8 kB / 1.091 GB, free: 14.64 MB / 0.8575 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.0006068/0.3276, allocations: 413 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3277, allocations: 12.03 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.3277, allocations: 8.844 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3278, allocations: 172.2 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3278, allocations: 4.375 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3279, allocations: 4.375 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.328, allocations: 81.84 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3281, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3281, allocations: 7.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3281, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3282, allocations: 31.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.3288, allocations: 316.8 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3289, allocations: 58.5 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.329, allocations: 32.97 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.329, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.3292, allocations: 75.38 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3292, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003722/0.3296, allocations: 141.6 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.3296, allocations: 63.33 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.3297, allocations: 113.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3298, allocations: 33.7 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.3298, allocations: 95.97 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.3298, allocations: 11.91 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.3299, allocations: 25.7 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.33, allocations: 326.8 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.3301, allocations: 27.97 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.3302, allocations: 47 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3303, allocations: 74.48 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3303, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002217/0.3305, allocations: 113.5 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3306, allocations: 4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3306, allocations: 3.938 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3306, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.3307, allocations: 8 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3307, allocations: 4.375 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.3308, allocations: 7.969 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3308, allocations: 8 kB / 1.093 GB, free: 12.1 MB / 0.8575 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 9.115e-05/0.3309, allocations: 121.7 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.3309, allocations: 15.83 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.3309, allocations: 12.36 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.331, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.331, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.331, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.3314, allocations: 390.4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3314, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.3314, allocations: 7.938 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3314, allocations: 0 / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3315, allocations: 3.984 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3315, allocations: 0 / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3315, allocations: 3.938 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3317, allocations: 215.4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.3318, allocations: 77.11 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3318, allocations: 7.984 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.3319, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.3319, allocations: 11.92 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3319, allocations: 4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.332, allocations: 99.42 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.332, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002895/0.3323, allocations: 35.91 kB / 1.094 GB, free: 11.01 MB / 0.8575 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.0003485/0.3326, allocations: 173.3 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.3329, allocations: 71.95 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3329, allocations: 0 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.333, allocations: 40.05 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3333, allocations: 7.984 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.3337, allocations: 176.5 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3339, allocations: 0.6846 MB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.334, allocations: 7.75 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.334, allocations: 15.44 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.334, allocations: 0 / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of Templates: time 0.004373/0.3384, allocations: 1.488 MB / 1.096 GB, free: 8.312 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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