Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001639/0.001639, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002031/0.002031, allocations: 219 kB / 23.03 MB, free: 4.922 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.239/3.239, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="cs",version="2.0",platforms={"static"}) [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.00204/0.00204, allocations: 67.28 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3537, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.00238/0.356, allocations: 0.8476 MB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3574, allocations: 0.8977 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-05/0.3575, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.3576, allocations: 15.8 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.3577, allocations: 35.78 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.3579, allocations: 43.88 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.3581, allocations: 135.6 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.3583, allocations: 37.81 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3584, allocations: 63.75 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.3586, allocations: 83.73 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.3586, allocations: 12 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/0.3587, allocations: 16 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.3587, allocations: 43.83 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.3588, allocations: 55.67 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.359, allocations: 175.2 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3591, allocations: 4 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3591, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3591, allocations: 0 / 1.329 GB, free: 14.97 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001002/0.3601, allocations: 441.4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3601, allocations: 11.97 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.342e-05/0.3601, allocations: 4.188 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.3602, allocations: 42.75 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.3602, allocations: 16.84 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3604, allocations: 166.1 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3605, allocations: 12.31 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3605, allocations: 12.38 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.361, allocations: 181.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3611, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.3611, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3611, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.3618, allocations: 221.5 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3628, allocations: 463.5 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.3633, allocations: 150.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.3637, allocations: 112.8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3637, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3637, allocations: 30.56 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3637, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001252/0.365, allocations: 365.5 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.365, allocations: 63.34 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3652, allocations: 174.3 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3652, allocations: 37.7 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.3653, allocations: 116.1 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.3654, allocations: 31.69 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.3654, allocations: 21.72 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3656, allocations: 322.8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.366, allocations: 103.9 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.3663, allocations: 104.3 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.367, allocations: 224.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.367, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008169/0.3678, allocations: 261.3 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3679, allocations: 4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3679, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3679, allocations: 3.984 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.3682, allocations: 47.83 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3682, allocations: 0 / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.3684, allocations: 43.89 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3684, allocations: 0 / 1.333 GB, free: 11.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001226/0.3685, allocations: 130.4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.3686, allocations: 15.91 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.3686, allocations: 29.38 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3686, allocations: 7.875 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3686, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3687, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.3689, allocations: 200.7 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3689, allocations: 4 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.3692, allocations: 39.95 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3692, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3692, allocations: 3.984 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3692, allocations: 3.938 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3692, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/0.37, allocations: 363.2 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.3701, allocations: 11.91 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3701, allocations: 4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.3703, allocations: 43.89 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.3704, allocations: 15.97 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.3704, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001128/0.3705, allocations: 135.1 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3705, allocations: 0 / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002611/0.3708, allocations: 31.89 kB / 1.334 GB, free: 9.957 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001192/0.372, allocations: 0.8802 MB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008127/0.3728, allocations: 219.7 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3728, allocations: 0 / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.3732, allocations: 123.8 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3736, allocations: 28.47 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.3773, allocations: 2.143 MB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.3774, allocations: 110.1 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.453e-05/0.3775, allocations: 24.41 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3776, allocations: 43.42 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3776, allocations: 3.938 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.4023, allocations: 3.966 MB / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.02, allocations: 7.922 kB / 1.341 GB, free: 2.484 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 19.02491228899453]