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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001369/0.001369, allocations: 115 kB / 16.37 MB, free: 6.016 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.001412/0.001412, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 64.09 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3027, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002873/0.3056, allocations: 1.602 MB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.307, allocations: 0.7806 MB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.3071, allocations: 3.938 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.186e-05/0.3072, allocations: 3.938 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.3073, allocations: 23.78 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.308, allocations: 147.5 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.3082, allocations: 139.6 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3083, allocations: 16 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3085, allocations: 63.81 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3086, allocations: 71.73 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.3086, allocations: 12 kB / 1.022 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.3088, allocations: 103.8 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.3089, allocations: 31.89 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.309, allocations: 51.78 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.3093, allocations: 199.4 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3093, allocations: 0 / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3093, allocations: 0 / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3093, allocations: 0 / 1.022 GB, free: 6.617 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.0007202/0.31, allocations: 486.4 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3101, allocations: 8.031 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.3101, allocations: 8.844 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3102, allocations: 193.5 kB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3103, allocations: 8.375 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.3103, allocations: 12.12 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.3105, allocations: 89.62 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3106, allocations: 0 / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3106, allocations: 4 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3106, allocations: 3.984 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.3108, allocations: 55.97 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.3116, allocations: 388.5 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3118, allocations: 66.55 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3119, allocations: 52.83 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3119, allocations: 7.984 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.3121, allocations: 103.3 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3121, allocations: 0 / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0005383/0.3127, allocations: 209.4 kB / 1.024 GB, free: 4.773 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3127, allocations: 55.41 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3129, allocations: 155.5 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3129, allocations: 33.7 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.3129, allocations: 92.38 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.313, allocations: 27.64 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.313, allocations: 33.7 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.3131, allocations: 322.8 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3133, allocations: 35.98 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3134, allocations: 84.75 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.3136, allocations: 108.2 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3136, allocations: 0 / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003287/0.314, allocations: 161.4 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.314, allocations: 4 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.314, allocations: 384 / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.314, allocations: 4 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3142, allocations: 19.92 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3142, allocations: 8.031 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3143, allocations: 19.83 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.3143, allocations: 8 kB / 1.025 GB, free: 3.539 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 8.985e-05/0.3144, allocations: 120.3 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.3144, allocations: 7.906 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.3145, allocations: 12.7 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3145, allocations: 4 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3145, allocations: 3.938 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3145, allocations: 7.938 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.3151, allocations: 462.5 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3151, allocations: 0 / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.3152, allocations: 7.984 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3152, allocations: 3.938 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.3152, allocations: 8.109 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3152, allocations: 3.938 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3152, allocations: 4 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.3156, allocations: 271.2 kB / 1.026 GB, free: 2.562 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.3157, allocations: 84.95 kB / 1.026 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3157, allocations: 4.062 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3158, allocations: 11.98 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.3159, allocations: 7.984 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3159, allocations: 8 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.777e-05/0.316, allocations: 109.9 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.316, allocations: 0 / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003201/0.3163, allocations: 44 kB / 1.026 GB, free: 2.281 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.0003176/0.3166, allocations: 167.6 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.317, allocations: 115.8 kB / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.317, allocations: 0 / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.3171, allocations: 55.97 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.3174, allocations: 15.92 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.3179, allocations: 216.8 kB / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.3181, allocations: 0.7002 MB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.835e-05/0.3182, allocations: 7.938 kB / 1.027 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.3182, allocations: 15.42 kB / 1.027 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.3182, allocations: 4 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of Templates: time 0.004452/0.3227, allocations: 1.973 MB / 1.029 GB, free: 14.98 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=480 -s gbode -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