Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Herkel2008WindowsCompletelyOpen,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.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_latest_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.007222/0.007222, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001502/0.001502, allocations: 195 kB / 16.67 MB, free: 5.977 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7453 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.84 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3901, allocations: 159.9 MB / 1.226 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002561/0.3927, allocations: 1.505 MB / 1.227 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.394, allocations: 0.7437 MB / 1.228 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.3941, allocations: 0 / 1.228 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.3941, allocations: 7.938 kB / 1.228 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.3942, allocations: 15.86 kB / 1.228 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.3948, allocations: 115.6 kB / 1.228 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3949, allocations: 83.75 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.395, allocations: 11.94 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.3951, allocations: 35.91 kB / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.3952, allocations: 47.83 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3952, allocations: 4 kB / 1.228 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.3954, allocations: 95.84 kB / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.3955, allocations: 19.92 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.3955, allocations: 31.86 kB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.3958, allocations: 139.5 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3958, allocations: 0 / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3958, allocations: 0 / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3958, allocations: 0 / 1.228 GB, free: 6.383 MB / 0.9825 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.0006569/0.3965, allocations: 426.4 kB / 1.229 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3965, allocations: 12.03 kB / 1.229 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.3966, allocations: 8.891 kB / 1.229 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3967, allocations: 176.2 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.3968, allocations: 12.31 kB / 1.229 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.3968, allocations: 4.375 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.397, allocations: 73.97 kB / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.397, allocations: 0 / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.397, allocations: 0 / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.3971, allocations: 7.984 kB / 1.229 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.3972, allocations: 35.97 kB / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.3978, allocations: 320.6 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.398, allocations: 50.5 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.3981, allocations: 36.97 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3981, allocations: 3.984 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.3983, allocations: 67.39 kB / 1.23 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3983, allocations: 0 / 1.23 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004014/0.3987, allocations: 145.5 kB / 1.23 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3988, allocations: 59.41 kB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.3989, allocations: 117.8 kB / 1.23 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3989, allocations: 33.7 kB / 1.23 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.399, allocations: 88.12 kB / 1.23 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.399, allocations: 19.97 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.399, allocations: 25.7 kB / 1.23 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3992, allocations: 326.8 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.3993, allocations: 23.98 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3994, allocations: 50.56 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3995, allocations: 74.8 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3995, allocations: 0 / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002395/0.3998, allocations: 125.5 kB / 1.231 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3998, allocations: 5.25 kB / 1.231 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3998, allocations: 0 / 1.231 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3998, allocations: 0 / 1.231 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.3999, allocations: 19.92 kB / 1.231 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3999, allocations: 0 / 1.231 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.4, allocations: 7.938 kB / 1.231 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.4, allocations: 4 kB / 1.231 GB, free: 3.824 MB / 0.9825 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.638e-05/0.4001, allocations: 130.4 kB / 1.231 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.4002, allocations: 7.953 kB / 1.231 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.4002, allocations: 4.375 kB / 1.231 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4002, allocations: 0 / 1.231 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4002, allocations: 0 / 1.231 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4002, allocations: 8 kB / 1.231 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.4007, allocations: 386.4 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4007, allocations: 0 / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.4007, allocations: 11.98 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4007, allocations: 0 / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4007, allocations: 0 / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4008, allocations: 0 / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4008, allocations: 3.938 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.401, allocations: 211.4 kB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.4011, allocations: 81.06 kB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.4011, allocations: 8 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.4012, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.4013, allocations: 15.86 kB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.4013, allocations: 4 kB / 1.231 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.4013, allocations: 95.27 kB / 1.232 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4013, allocations: 0 / 1.232 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003147/0.4017, allocations: 47.8 kB / 1.232 GB, free: 2.727 MB / 0.9825 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.0003672/0.402, allocations: 158.9 kB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.4023, allocations: 75.89 kB / 1.232 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4023, allocations: 0 / 1.232 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4024, allocations: 35.97 kB / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4027, allocations: 10.06 kB / 1.232 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.4031, allocations: 188.8 kB / 1.232 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.4034, allocations: 0.6885 MB / 1.233 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.4035, allocations: 4 kB / 1.233 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.4035, allocations: 15.42 kB / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.4035, allocations: 0 / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of Templates: time 0.004089/0.4076, allocations: 1.459 MB / 1.234 GB, free: 72 kB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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