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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001327/0.001327, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001291/0.001291, allocations: 192.1 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.86 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2843, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002604/0.2869, allocations: 1.505 MB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2882, allocations: 0.7206 MB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.2882, allocations: 7.938 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.2883, allocations: 3.938 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.2884, allocations: 19.84 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.2889, allocations: 127.6 kB / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.88e-05/0.289, allocations: 63.84 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.2891, allocations: 15.98 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.2892, allocations: 35.84 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.2893, allocations: 35.84 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.2893, allocations: 8 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.2895, allocations: 95.91 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.2895, allocations: 27.89 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.2896, allocations: 27.86 kB / 0.9537 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.2898, allocations: 147.5 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2898, allocations: 0 / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2898, allocations: 0 / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2898, allocations: 0 / 0.9539 GB, free: 5.191 MB / 0.7325 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.0006232/0.2905, allocations: 416.9 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2905, allocations: 12.03 kB / 0.9543 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.2906, allocations: 8.844 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2907, allocations: 172.3 kB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.2907, allocations: 384 / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2907, allocations: 12.31 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.2909, allocations: 77.89 kB / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2909, allocations: 0 / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.291, allocations: 0 / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.291, allocations: 3.938 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.2911, allocations: 43.97 kB / 0.9546 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.2917, allocations: 312.7 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2919, allocations: 50.48 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.2919, allocations: 36.97 kB / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.292, allocations: 4 kB / 0.955 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.2922, allocations: 79.38 kB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.2922, allocations: 0 / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003715/0.2925, allocations: 133.6 kB / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.2926, allocations: 63.34 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.2927, allocations: 125.8 kB / 0.9554 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2927, allocations: 25.7 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.2928, allocations: 92.14 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.2928, allocations: 11.75 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.2929, allocations: 29.7 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.293, allocations: 326.8 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.2931, allocations: 23.98 kB / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.2932, allocations: 50.55 kB / 0.9559 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2933, allocations: 74.5 kB / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2933, allocations: 0 / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002226/0.2936, allocations: 113.5 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2936, allocations: 12 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2936, allocations: 0 / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2936, allocations: 4 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.2937, allocations: 11.98 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2937, allocations: 0 / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.2938, allocations: 15.91 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.2938, allocations: 7.984 kB / 0.9561 GB, free: 2.641 MB / 0.7325 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.069e-05/0.2939, allocations: 125.2 kB / 0.9563 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.2939, allocations: 8 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.294, allocations: 8.375 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.294, allocations: 4 kB / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.294, allocations: 0 / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.294, allocations: 0 / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.2944, allocations: 382.7 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2944, allocations: 0 / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.2945, allocations: 15.92 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.2945, allocations: 4 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2945, allocations: 0 / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2945, allocations: 0 / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2945, allocations: 8.016 kB / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.2948, allocations: 207.5 kB / 0.9569 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.2948, allocations: 88.95 kB / 0.9569 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2948, allocations: 4 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.2949, allocations: 11.98 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.295, allocations: 3.938 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.295, allocations: 4 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.295, allocations: 91.92 kB / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.295, allocations: 0 / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002775/0.2953, allocations: 39.98 kB / 0.9571 GB, free: 1.555 MB / 0.7325 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.0003459/0.2957, allocations: 173.1 kB / 0.9573 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.2959, allocations: 59.97 kB / 0.9573 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2959, allocations: 0 / 0.9573 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.296, allocations: 43.91 kB / 0.9574 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2963, allocations: 5.5 kB / 0.9574 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.2967, allocations: 196.4 kB / 0.9576 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.2969, allocations: 0.6883 MB / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.297, allocations: 7.984 kB / 0.9582 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.297, allocations: 11.38 kB / 0.9582 GB, free: 336 kB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.297, allocations: 4 kB / 0.9582 GB, free: 332 kB / 0.7325 GB Notification: Performance of Templates: time 0.003757/0.3008, allocations: 1.456 MB / 0.9597 GB, free: 14.88 MB / 0.7481 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 -s cvode -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/jenkins1/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