Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.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.001284/0.001284, allocations: 108.2 kB / 16.45 MB, free: 6.035 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.001317/0.001317, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.532/2.532, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.88 kB / 1.056 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 160.7 MB / 1.213 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002385/1.007, allocations: 0.8881 MB / 1.214 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001343/1.008, allocations: 0.8768 MB / 1.215 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/1.008, allocations: 6.219 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/1.008, allocations: 20.77 kB / 1.215 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/1.009, allocations: 25.14 kB / 1.215 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/1.009, allocations: 37.91 kB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/1.009, allocations: 139.2 kB / 1.215 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/1.009, allocations: 46.95 kB / 1.215 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/1.009, allocations: 67.22 kB / 1.215 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/1.009, allocations: 82.73 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/1.009, allocations: 12.81 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/1.009, allocations: 12.47 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/1.01, allocations: 47.8 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/1.01, allocations: 68.88 kB / 1.215 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/1.01, allocations: 164.3 kB / 1.215 GB, free: 1.977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.01, allocations: 4 kB / 1.215 GB, free: 1.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.725e-06/1.01, allocations: 0.75 kB / 1.215 GB, free: 1.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.01, allocations: 0 / 1.215 GB, free: 1.973 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001119/1.011, allocations: 0.5118 MB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/1.011, allocations: 10.72 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.269e-05/1.011, allocations: 45.92 kB / 1.216 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/1.011, allocations: 24.11 kB / 1.216 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/1.011, allocations: 212.4 kB / 1.216 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/1.011, allocations: 11.7 kB / 1.216 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/1.012, allocations: 9.719 kB / 1.216 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/1.012, allocations: 176.8 kB / 1.216 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.012, allocations: 3.938 kB / 1.216 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/1.012, allocations: 8.906 kB / 1.216 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/1.012, allocations: 2.25 kB / 1.216 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/1.013, allocations: 219.3 kB / 1.217 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/1.014, allocations: 0.5089 MB / 1.217 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/1.014, allocations: 144.3 kB / 1.217 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/1.015, allocations: 118.9 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/1.015, allocations: 1.125 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/1.015, allocations: 35.84 kB / 1.217 GB, free: 360 kB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/1.015, allocations: 1.125 kB / 1.217 GB, free: 360 kB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.001216/1.016, allocations: 370.7 kB / 1.218 GB, free: 164 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/1.016, allocations: 60.19 kB / 1.218 GB, free: 92 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/1.016, allocations: 181.6 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/1.016, allocations: 30.92 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/1.017, allocations: 134.5 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/1.017, allocations: 28.75 kB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/1.017, allocations: 23.58 kB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.017, allocations: 326.2 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/1.017, allocations: 103.4 kB / 1.219 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/1.018, allocations: 104.6 kB / 1.219 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/1.018, allocations: 213.4 kB / 1.219 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.018, allocations: 0 / 1.219 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007637/1.019, allocations: 257.8 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.019, allocations: 5.312 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.019, allocations: 1.062 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.019, allocations: 3.938 kB / 1.219 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/1.019, allocations: 44.14 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.019, allocations: 8.891 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/1.019, allocations: 33.77 kB / 1.219 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/1.019, allocations: 2.281 kB / 1.219 GB, free: 15.04 MB / 0.9356 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.0001267/1.02, allocations: 128.7 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/1.02, allocations: 19.34 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/1.02, allocations: 21.5 kB / 1.219 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.02, allocations: 1.094 kB / 1.219 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.02, allocations: 3.938 kB / 1.219 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.02, allocations: 7.922 kB / 1.219 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/1.02, allocations: 249.9 kB / 1.22 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.02, allocations: 0 / 1.22 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/1.02, allocations: 48.09 kB / 1.22 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.02, allocations: 5.094 kB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.02, allocations: 0 / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/1.02, allocations: 1.062 kB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.02, allocations: 3.938 kB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/1.021, allocations: 354.2 kB / 1.22 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/1.021, allocations: 93.27 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/1.021, allocations: 1.125 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/1.022, allocations: 32.55 kB / 1.22 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/1.022, allocations: 25.44 kB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.022, allocations: 4.938 kB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001362/1.022, allocations: 134.3 kB / 1.22 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.022, allocations: 1.094 kB / 1.22 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002626/1.022, allocations: 25.33 kB / 1.22 GB, free: 14.1 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: 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.001254/1.023, allocations: 0.8885 MB / 1.221 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007802/1.024, allocations: 222.1 kB / 1.221 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.024, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/1.024, allocations: 127.6 kB / 1.222 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/1.025, allocations: 21.97 kB / 1.222 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/1.029, allocations: 2.138 MB / 1.224 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/1.029, allocations: 0.7239 MB / 1.224 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001021/1.029, allocations: 22.16 kB / 1.224 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/1.029, allocations: 45.52 kB / 1.224 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of SimCode: time 8.71e-07/1.029, allocations: 0 / 1.224 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/1.06, allocations: 3.667 MB / 1.228 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/9.303, allocations: 16.16 kB / 1.228 GB, free: 8.422 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.201590246986598]