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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 115.7 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 443.5 MB / 0.7293 GB, free: 14.45 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.88 kB / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 160.7 MB / 1.214 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002804/0.3043, allocations: 1.581 MB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3057, allocations: 0.8031 MB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.3058, allocations: 0 / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.3058, allocations: 7.875 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.3059, allocations: 15.8 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.3064, allocations: 151.6 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3066, allocations: 135.6 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.3067, allocations: 11.94 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3068, allocations: 63.81 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3069, allocations: 71.73 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.307, allocations: 19.92 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.3072, allocations: 103.9 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.3072, allocations: 35.89 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.3073, allocations: 51.77 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.3076, allocations: 195.3 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3076, allocations: 4 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3076, allocations: 0 / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3076, allocations: 0 / 1.217 GB, free: 13.62 MB / 0.9669 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.0007922/0.3084, allocations: 486.1 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3084, allocations: 8.031 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.3085, allocations: 12.89 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.3086, allocations: 188.8 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.3087, allocations: 4.375 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.3087, allocations: 12.12 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.3089, allocations: 109.5 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.309, allocations: 3.984 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.309, allocations: 4 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.309, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.3092, allocations: 63.95 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.3101, allocations: 376.5 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.3103, allocations: 66.48 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.3104, allocations: 44.84 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3104, allocations: 0 / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.3107, allocations: 111.3 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3107, allocations: 0 / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005985/0.3113, allocations: 213.5 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3113, allocations: 55.41 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3114, allocations: 148.4 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.3115, allocations: 33.7 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.3115, allocations: 104.5 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.3116, allocations: 15.91 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.3116, allocations: 29.7 kB / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3118, allocations: 326.8 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3119, allocations: 39.91 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3121, allocations: 76.27 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.3123, allocations: 108.2 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3123, allocations: 4 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003606/0.3127, allocations: 161.4 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3127, allocations: 5.875 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3127, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3127, allocations: 4 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3129, allocations: 15.98 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3129, allocations: 11.92 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.313, allocations: 19.98 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.313, allocations: 4 kB / 1.22 GB, free: 10.55 MB / 0.9669 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.0001253/0.3131, allocations: 125.8 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.3131, allocations: 7.953 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.3132, allocations: 16.72 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3132, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3132, allocations: 3.938 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3132, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.3139, allocations: 458.9 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3139, allocations: 3.938 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.3139, allocations: 8.047 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3139, allocations: 8.031 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3139, allocations: 11.92 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3139, allocations: 0 / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3139, allocations: 0 / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.3144, allocations: 275.3 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.3144, allocations: 85 kB / 1.221 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.3145, allocations: 4 kB / 1.221 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3146, allocations: 7.984 kB / 1.221 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3147, allocations: 11.98 kB / 1.221 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3147, allocations: 48 / 1.221 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.955e-05/0.3147, allocations: 114.1 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3147, allocations: 4 kB / 1.221 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003218/0.3151, allocations: 39.94 kB / 1.221 GB, free: 9.289 MB / 0.9669 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.0003627/0.3154, allocations: 165.3 kB / 1.221 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3158, allocations: 115.9 kB / 1.221 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3158, allocations: 0 / 1.221 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.3159, allocations: 51.91 kB / 1.221 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3162, allocations: 17.94 kB / 1.221 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.3167, allocations: 258.3 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3171, allocations: 0.6963 MB / 1.222 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.3171, allocations: 19.42 kB / 1.222 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3171, allocations: 0 / 1.222 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of Templates: time 0.004213/0.3213, allocations: 2.069 MB / 1.224 GB, free: 5.859 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.77232890482992]