Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008047/0.008047, allocations: 101.9 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.002239/0.002239, allocations: 188.8 kB / 16.67 MB, free: 5.969 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.4 MB, free: 15.14 MB / 206.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.252/2.252, allocations: 390.2 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9271/0.9283, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002496/0.9309, allocations: 1.505 MB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.9322, allocations: 0.7285 MB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.9322, allocations: 1.219 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.9323, allocations: 4.547 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.9324, allocations: 14.31 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.9329, allocations: 122 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.9331, allocations: 80.59 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.9332, allocations: 16.31 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.9333, allocations: 31.3 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.9334, allocations: 36.34 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.9334, allocations: 6.375 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.9336, allocations: 98.61 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.9337, allocations: 18.12 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.9337, allocations: 32.42 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.934, allocations: 142.7 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.934, allocations: 0.7812 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9341, allocations: 0 / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.9341, allocations: 4.844 kB / 1.091 GB, free: 3.695 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.0006674/0.9347, allocations: 422.2 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.9348, allocations: 9.406 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.9348, allocations: 8.047 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.9349, allocations: 178.3 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.935, allocations: 7.219 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.935, allocations: 4.75 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.9352, allocations: 75.92 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.9352, allocations: 0 / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.9352, allocations: 5.672 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9352, allocations: 1.188 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.9353, allocations: 36.5 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.9359, allocations: 320.9 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.936, allocations: 54.19 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.9361, allocations: 32.88 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.9361, allocations: 0.7188 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.9363, allocations: 73.27 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.9363, allocations: 3.984 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003933/0.9367, allocations: 145.7 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.9368, allocations: 54.36 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.9368, allocations: 118.8 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.9369, allocations: 31.55 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.9369, allocations: 88.55 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.9369, allocations: 19.2 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.937, allocations: 25.11 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.937, allocations: 331.2 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.9371, allocations: 27.59 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.9372, allocations: 47.19 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.9374, allocations: 79.72 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9374, allocations: 0 / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002286/0.9376, allocations: 113.8 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9376, allocations: 4.438 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9377, allocations: 0.8125 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9377, allocations: 2.328 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.9378, allocations: 14.73 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.9378, allocations: 2.797 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.9379, allocations: 16.2 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.9379, allocations: 4.484 kB / 1.093 GB, free: 1.695 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 7.229e-05/0.938, allocations: 119.5 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.938, allocations: 7 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.938, allocations: 10.86 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.938, allocations: 1.578 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.938, allocations: 1 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9381, allocations: 0.6562 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.9385, allocations: 386 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9385, allocations: 1.125 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.9385, allocations: 5.234 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.9385, allocations: 0 / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.9386, allocations: 6.531 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.9386, allocations: 0.875 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9386, allocations: 4.734 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.9388, allocations: 220.3 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.9389, allocations: 83.3 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.9389, allocations: 2.25 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.939, allocations: 3.922 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.9391, allocations: 8.844 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.9391, allocations: 3.5 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.9391, allocations: 95.53 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9391, allocations: 0 / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003174/0.9395, allocations: 38.8 kB / 1.094 GB, free: 0.8477 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.0003231/0.9398, allocations: 170.9 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.94, allocations: 76.5 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9401, allocations: 4.125 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.9402, allocations: 33.56 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.9404, allocations: 9.984 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.9408, allocations: 183.4 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.941, allocations: 0.6868 MB / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.941, allocations: 13.61 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.941, allocations: 11.52 kB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9411, allocations: 0 / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.004717/0.9458, allocations: 1.449 MB / 1.096 GB, free: 15.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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