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.001747/0.001747, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 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.002061/0.002061, allocations: 213.4 kB / 23.04 MB, free: 4.844 MB / 14.72 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.191/3.191, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|add1.u.2.|add1.u.3.|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.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.25 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3227, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002052/0.3248, allocations: 0.8178 MB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3259, allocations: 0.925 MB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.326, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.3261, allocations: 15.8 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3262, allocations: 11.88 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3264, allocations: 67.86 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3266, allocations: 127.7 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3267, allocations: 29.3 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.3268, allocations: 55.78 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.327, allocations: 75.66 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.3271, allocations: 12 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.288e-05/0.3271, allocations: 12 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.3272, allocations: 35.89 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.3272, allocations: 51.72 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.3274, allocations: 143.4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3274, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3274, allocations: 8 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3274, allocations: 3.938 kB / 1.329 GB, free: 14.53 MB / 1.029 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.0008066/0.3282, allocations: 369.7 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3283, allocations: 8.031 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.3283, allocations: 20.88 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3285, allocations: 143.5 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.3285, allocations: 12.12 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3286, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.329, allocations: 155.2 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.329, allocations: 7.922 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.329, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.329, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.3296, allocations: 155.8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.3302, allocations: 332.2 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.3311, allocations: 174.6 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.3314, allocations: 88.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.3314, allocations: 7.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.3314, allocations: 30.56 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.3314, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0009738/0.3324, allocations: 281.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3325, allocations: 55.41 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.3326, allocations: 149.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3326, allocations: 26.08 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.3327, allocations: 116 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.3328, allocations: 27.83 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.3328, allocations: 25.7 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.333, allocations: 326.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.3333, allocations: 75.92 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3336, allocations: 75.92 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.3341, allocations: 156.7 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3341, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006129/0.3347, allocations: 209.4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3347, allocations: 7.938 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3347, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3347, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.335, allocations: 43.95 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.335, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.3351, allocations: 23.91 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3352, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 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 0.0001177/0.3353, allocations: 129 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.3353, allocations: 15.84 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.3354, allocations: 16.72 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3354, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3354, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3354, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.3356, allocations: 157.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3356, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.3358, allocations: 44.17 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3358, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.3358, allocations: 11.94 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3358, allocations: 3.938 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3358, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.3365, allocations: 307.2 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.3365, allocations: 11.89 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3365, allocations: 3.938 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3367, allocations: 23.97 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3368, allocations: 35.95 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.3369, allocations: 3.984 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.3369, allocations: 109 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3369, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002431/0.3372, allocations: 24 kB / 1.333 GB, free: 10.36 MB / 1.029 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 0.000124/0.3373, allocations: 99.23 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000629/0.3379, allocations: 171.8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3379, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.3382, allocations: 91.84 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3385, allocations: 12 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.3391, allocations: 271.7 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.497e-05/0.3392, allocations: 93.05 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.3393, allocations: 23.89 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3393, allocations: 0 / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of Templates: time 0.003612/0.3429, allocations: 1.87 MB / 1.336 GB, free: 7.695 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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: 11.254959713900462]