Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001525/0.001525, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 70.97 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3012, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003006/0.3042, allocations: 1.587 MB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3057, allocations: 0.7883 MB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.3058, allocations: 3.938 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.3058, allocations: 7.922 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.3059, allocations: 19.8 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.3065, allocations: 151.5 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3067, allocations: 135.6 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3068, allocations: 23.98 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3069, allocations: 51.84 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.307, allocations: 71.78 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.307, allocations: 12 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.3072, allocations: 99.84 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.3073, allocations: 39.88 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.3074, allocations: 51.72 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.3077, allocations: 195.7 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3077, allocations: 4 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3077, allocations: 0 / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3077, allocations: 0 / 1.021 GB, free: 7.406 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008254/0.3085, allocations: 478.4 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3086, allocations: 8.031 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.3086, allocations: 16.84 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3088, allocations: 186 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3088, allocations: 4.375 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.3088, allocations: 16.12 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.3091, allocations: 101.5 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3091, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3091, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3091, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.3094, allocations: 63.95 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/0.3103, allocations: 376.5 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3105, allocations: 66.55 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.3106, allocations: 52.83 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3106, allocations: 8 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.3109, allocations: 103.3 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3109, allocations: 0 / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0005881/0.3115, allocations: 217.4 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3115, allocations: 55.41 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3117, allocations: 155.2 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3117, allocations: 25.7 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.3118, allocations: 96.38 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3118, allocations: 27.64 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.3119, allocations: 33.7 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.312, allocations: 322.8 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3122, allocations: 43.97 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.3123, allocations: 73.27 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.3126, allocations: 116.2 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3126, allocations: 0 / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003508/0.313, allocations: 149.4 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.313, allocations: 4 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.313, allocations: 4.109 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.313, allocations: 3.938 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3132, allocations: 28.02 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3132, allocations: 3.938 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3133, allocations: 19.89 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3133, allocations: 4 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001323/0.3135, allocations: 117.8 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.3135, allocations: 11.89 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.3135, allocations: 12.72 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3135, allocations: 0 / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3135, allocations: 7.938 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3136, allocations: 8.031 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/0.3142, allocations: 458.5 kB / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3142, allocations: 480 / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.3143, allocations: 15.92 kB / 1.024 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3143, allocations: 3.938 kB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3143, allocations: 4.062 kB / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3143, allocations: 7.984 kB / 1.024 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3144, allocations: 7.938 kB / 1.024 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.3148, allocations: 263.2 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.3149, allocations: 88.95 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3149, allocations: 0 / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.315, allocations: 11.98 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3151, allocations: 11.98 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3151, allocations: 4 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.3152, allocations: 110.1 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3152, allocations: 0 / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003217/0.3155, allocations: 44 kB / 1.025 GB, free: 3.07 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003647/0.3159, allocations: 161.3 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.3163, allocations: 123.8 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3163, allocations: 3.938 kB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3165, allocations: 55.97 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3167, allocations: 7.938 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.3173, allocations: 258.5 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.3177, allocations: 0.7002 MB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.3177, allocations: 15.42 kB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3177, allocations: 0 / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of Templates: time 0.004312/0.322, allocations: 2.053 MB / 1.028 GB, free: 15.66 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches