Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009176/0.0009176, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009897/0.0009897, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.967/1.967, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.909e-05, allocations: 6.312 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002237/0.002266, allocations: 0.8473 MB / 0.7609 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.0033, allocations: 0.9389 MB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.003366, allocations: 4 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.00348, allocations: 12.41 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.003586, allocations: 21.42 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.003774, allocations: 56.73 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.00395, allocations: 136.8 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.004065, allocations: 33.94 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.004168, allocations: 80.92 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.004287, allocations: 63.84 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.004314, allocations: 12 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.004331, allocations: 12.97 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.004379, allocations: 35.89 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.004422, allocations: 39.89 kB / 0.7623 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.004566, allocations: 108.4 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004569, allocations: 0 / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00457, allocations: 0.5312 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004573, allocations: 0.9688 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004439/0.005017, allocations: 328.5 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.005051, allocations: 9 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.005089, allocations: 12.92 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.005219, allocations: 139.4 kB / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.00524, allocations: 12.3 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.005257, allocations: 12.31 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.005457, allocations: 124.2 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.005465, allocations: 0 / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.005477, allocations: 4 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.005482, allocations: 0.6562 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.005541, allocations: 28.72 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.00589, allocations: 246.3 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.00617, allocations: 119.3 kB / 0.7634 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.006207, allocations: 20.84 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.006224, allocations: 7.938 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.006248, allocations: 39.89 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.00625, allocations: 0 / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000174/0.006424, allocations: 82.84 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.006454, allocations: 55.41 kB / 0.7636 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.006532, allocations: 152.4 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.006546, allocations: 26.95 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.006587, allocations: 100.2 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.006614, allocations: 27.75 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.006656, allocations: 32.94 kB / 0.7639 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.006737, allocations: 322.8 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.006774, allocations: 18.81 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.006799, allocations: 8 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.006872, allocations: 50.41 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.006875, allocations: 0 / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001227/0.006998, allocations: 72.7 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.007013, allocations: 8 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007018, allocations: 0 / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.007032, allocations: 0 / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.007145, allocations: 27.91 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.007152, allocations: 11.88 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.007203, allocations: 7.984 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.007212, allocations: 5.5 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.573e-05/0.007307, allocations: 124.7 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.007331, allocations: 4 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.007356, allocations: 21.42 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007358, allocations: 0 / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.00736, allocations: 1.156 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007364, allocations: 3.938 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.007485, allocations: 109.7 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007486, allocations: 2.438 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.007562, allocations: 31.91 kB / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007563, allocations: 0 / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.007571, allocations: 4 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007573, allocations: 4 kB / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007574, allocations: 0 / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.00773, allocations: 221.9 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.007742, allocations: 7.953 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.007756, allocations: 3.984 kB / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.007819, allocations: 12 kB / 0.7649 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.007887, allocations: 35.95 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.007895, allocations: 3.984 kB / 0.765 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.007923, allocations: 30.47 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007923, allocations: 1.5 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001415/0.008065, allocations: 27.95 kB / 0.765 GB, free: 1.352 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 9.667e-05/0.008161, allocations: 85.86 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.008271, allocations: 52.81 kB / 0.7651 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.008274, allocations: 2.438 kB / 0.7651 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.018e-05/0.008335, allocations: 44.77 kB / 0.7652 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.008492, allocations: 27.92 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.008847, allocations: 229.4 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.008887, allocations: 67.28 kB / 0.7655 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.389e-05/0.008951, allocations: 13.88 kB / 0.7655 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.009061, allocations: 79.34 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.009062, allocations: 0.5312 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of Templates: time 0.004316/0.01338, allocations: 2.582 MB / 0.7681 GB, free: 14.26 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.065968811046332]