Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001586/0.001586, allocations: 112 kB / 17.08 MB, free: 6.008 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.001674/0.001674, allocations: 194.2 kB / 20.03 MB, free: 3.078 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.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.646/2.646, allocations: 437.1 MB / 0.7177 GB, free: 4.562 MB / 0.5606 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3053, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002811/0.3081, allocations: 1.498 MB / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3095, allocations: 0.7323 MB / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.3096, allocations: 0 / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.3097, allocations: 11.86 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.3097, allocations: 7.922 kB / 1.178 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.3104, allocations: 131.5 kB / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.3105, allocations: 71.78 kB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3106, allocations: 19.92 kB / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.951e-05/0.3107, allocations: 35.92 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.3108, allocations: 43.81 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3109, allocations: 4 kB / 1.178 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.3111, allocations: 95.84 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.3111, allocations: 11.98 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.3112, allocations: 39.78 kB / 1.178 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.3115, allocations: 143.5 kB / 1.179 GB, free: 3.039 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3115, allocations: 4 kB / 1.179 GB, free: 3.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3115, allocations: 3.938 kB / 1.179 GB, free: 3.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3115, allocations: 0 / 1.179 GB, free: 3.031 MB / 0.92 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.0007131/0.3122, allocations: 423 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3122, allocations: 8.031 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.3123, allocations: 8.891 kB / 1.179 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3125, allocations: 172.3 kB / 1.179 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.3125, allocations: 8.375 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3125, allocations: 12.36 kB / 1.179 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3127, allocations: 65.97 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3127, allocations: 0 / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3128, allocations: 4 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3128, allocations: 0 / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3129, allocations: 43.91 kB / 1.179 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.3136, allocations: 312.8 kB / 1.18 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3137, allocations: 50.56 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.3138, allocations: 28.97 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.3138, allocations: 0 / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.3141, allocations: 79.31 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.3141, allocations: 7.938 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004372/0.3145, allocations: 141.6 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3146, allocations: 55.39 kB / 1.18 GB, free: 1.453 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3147, allocations: 121.8 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.3147, allocations: 29.7 kB / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.3148, allocations: 100.1 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.3148, allocations: 19.84 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.3149, allocations: 29.7 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3151, allocations: 318.8 kB / 1.181 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.3151, allocations: 31.97 kB / 1.181 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3153, allocations: 51.8 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3155, allocations: 83.34 kB / 1.181 GB, free: 0.625 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3155, allocations: 0 / 1.181 GB, free: 0.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002739/0.3157, allocations: 121.5 kB / 1.181 GB, free: 0.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3158, allocations: 10.03 kB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3158, allocations: 0 / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3158, allocations: 0 / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.587e-05/0.3159, allocations: 16.05 kB / 1.181 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3159, allocations: 4 kB / 1.181 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/0.316, allocations: 7.984 kB / 1.181 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.316, allocations: 11.94 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 0.0001081/0.3161, allocations: 117.8 kB / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.3162, allocations: 7.953 kB / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.3162, allocations: 4.375 kB / 1.181 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3162, allocations: 0 / 1.181 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3162, allocations: 8 kB / 1.181 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3162, allocations: 7.922 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.3167, allocations: 390.3 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3168, allocations: 0 / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.3168, allocations: 4 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3168, allocations: 0 / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3168, allocations: 0 / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3168, allocations: 0 / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.3168, allocations: 3.938 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.3172, allocations: 211.5 kB / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.3172, allocations: 81.06 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3172, allocations: 4 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.3173, allocations: 3.984 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3174, allocations: 15.88 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3174, allocations: 7.984 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.609e-05/0.3175, allocations: 95.44 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3175, allocations: 0 / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003085/0.3178, allocations: 39.92 kB / 1.182 GB, free: 15.37 MB / 0.9356 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,occ.y,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.0003762/0.3182, allocations: 152.4 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.3185, allocations: 83.92 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3185, allocations: 0 / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3186, allocations: 31.98 kB / 1.182 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3189, allocations: 8.625 kB / 1.182 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.3193, allocations: 213.8 kB / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3197, allocations: 0.6925 MB / 1.183 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3197, allocations: 11.44 kB / 1.183 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3197, allocations: 0 / 1.183 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of Templates: time 0.003946/0.3237, allocations: 1.63 MB / 1.185 GB, free: 12.5 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.680042591993697]