Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001908/0.001908, allocations: 115 kB / 17.08 MB, free: 5.988 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.00222/0.00222, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.437/1.437, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.645/2.645, allocations: 437.1 MB / 0.7177 GB, free: 4.504 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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002904/0.3104, allocations: 1.494 MB / 1.177 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3118, allocations: 0.7323 MB / 1.178 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.3119, allocations: 0 / 1.178 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.3119, allocations: 3.938 kB / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.312, allocations: 15.86 kB / 1.178 GB, free: 3.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.3125, allocations: 119.6 kB / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3127, allocations: 79.77 kB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.3128, allocations: 11.94 kB / 1.178 GB, free: 3.414 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.3129, allocations: 43.84 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.3129, allocations: 39.83 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.313, allocations: 4 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.3132, allocations: 95.84 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.3132, allocations: 23.91 kB / 1.178 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.3133, allocations: 35.8 kB / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3135, allocations: 143.5 kB / 1.179 GB, free: 3.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3135, allocations: 0 / 1.179 GB, free: 3.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3136, allocations: 0 / 1.179 GB, free: 3.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3136, allocations: 0 / 1.179 GB, free: 3.035 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.0006849/0.3143, allocations: 420.7 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3143, allocations: 12.03 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3143, allocations: 4.891 kB / 1.179 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3145, allocations: 172.3 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3145, allocations: 8.375 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3146, allocations: 12.31 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3148, allocations: 73.95 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3148, allocations: 0 / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3148, allocations: 7.984 kB / 1.179 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3148, allocations: 0 / 1.179 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3149, allocations: 31.98 kB / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.3156, allocations: 312.8 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3158, allocations: 54.5 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.3159, allocations: 32.97 kB / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3159, allocations: 3.984 kB / 1.18 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3161, allocations: 75.38 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.3161, allocations: 0 / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004789/0.3166, allocations: 145.6 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.3166, allocations: 63.33 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3168, allocations: 113.8 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3168, allocations: 33.7 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.3169, allocations: 92.08 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.3169, allocations: 23.84 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.3169, allocations: 25.7 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3171, allocations: 322.8 kB / 1.181 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.775e-05/0.3172, allocations: 23.98 kB / 1.181 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3173, allocations: 50.55 kB / 1.181 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3175, allocations: 82.78 kB / 1.181 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3175, allocations: 4 kB / 1.181 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002519/0.3177, allocations: 113.5 kB / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3178, allocations: 10.34 kB / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3178, allocations: 0 / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3178, allocations: 0 / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3179, allocations: 12.06 kB / 1.181 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3179, allocations: 7.984 kB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.318, allocations: 7.938 kB / 1.181 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.318, allocations: 4 kB / 1.181 GB, free: 492 kB / 0.92 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 0.0001067/0.3181, allocations: 121.7 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.3182, allocations: 11.95 kB / 1.181 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.3182, allocations: 8.359 kB / 1.181 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3182, allocations: 0 / 1.181 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3182, allocations: 4 kB / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3182, allocations: 0 / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.3187, allocations: 394.2 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3188, allocations: 0 / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.3188, allocations: 4 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3188, allocations: 0 / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3188, allocations: 3.984 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3188, allocations: 0 / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3188, allocations: 3.938 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.3192, allocations: 211.5 kB / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.3192, allocations: 81.06 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3193, allocations: 3.984 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.3194, allocations: 4 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.3194, allocations: 11.92 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3194, allocations: 0 / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.615e-05/0.3195, allocations: 103.9 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3195, allocations: 3.938 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002949/0.3198, allocations: 31.94 kB / 1.182 GB, free: 15.4 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,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.000407/0.3202, allocations: 166.8 kB / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.3205, allocations: 79.89 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3205, allocations: 0 / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3206, allocations: 32.38 kB / 1.182 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3209, allocations: 14.05 kB / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.3213, allocations: 206 kB / 1.182 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3217, allocations: 0.6985 MB / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.3217, allocations: 11.44 kB / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3217, allocations: 3.938 kB / 1.183 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of Templates: time 0.004029/0.3258, allocations: 1.619 MB / 1.185 GB, free: 12.53 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.678301353007555]