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.001378/0.001378, allocations: 116.8 kB / 17.17 MB, free: 6 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.001438/0.001438, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.617/1.617, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.984/2.984, allocations: 0.49 GB / 0.7923 GB, free: 1.367 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.002139/0.002139, allocations: 63.91 kB / 1.15 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.137, allocations: 176.1 MB / 1.322 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002033/1.139, allocations: 0.8804 MB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009875/1.14, allocations: 0.9144 MB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/1.14, allocations: 2.719 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/1.14, allocations: 22 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/1.14, allocations: 21.38 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/1.14, allocations: 41.19 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/1.14, allocations: 144.8 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/1.14, allocations: 45.53 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/1.14, allocations: 53.05 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/1.14, allocations: 91.08 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/1.141, allocations: 12.34 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.793e-05/1.141, allocations: 12.19 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/1.141, allocations: 44.95 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/1.141, allocations: 64.42 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/1.141, allocations: 178.4 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/1.141, allocations: 6.312 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.943e-06/1.141, allocations: 0 / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.141, allocations: 0 / 1.324 GB, free: 23.17 MB / 1.061 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.0008769/1.142, allocations: 0.5046 MB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.142, allocations: 15.64 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.313e-05/1.142, allocations: 2.969 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/1.142, allocations: 37.59 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/1.142, allocations: 21.11 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/1.142, allocations: 221.7 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/1.142, allocations: 7.094 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/1.142, allocations: 14.09 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/1.143, allocations: 190.7 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.143, allocations: 0 / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.143, allocations: 0 / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.143, allocations: 2.781 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/1.143, allocations: 220.9 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/1.144, allocations: 0.5096 MB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/1.145, allocations: 149.5 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/1.145, allocations: 109.3 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/1.145, allocations: 0 / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/1.145, allocations: 37.5 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/1.145, allocations: 4 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001169/1.146, allocations: 358.2 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/1.146, allocations: 61.91 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/1.146, allocations: 179.4 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/1.146, allocations: 26.42 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/1.146, allocations: 122.4 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/1.146, allocations: 34.95 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/1.147, allocations: 27.47 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.74e-05/1.147, allocations: 322.4 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/1.147, allocations: 101.5 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/1.147, allocations: 110.8 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007668/1.148, allocations: 219.9 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.148, allocations: 0 / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008447/1.149, allocations: 259.6 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.149, allocations: 5.25 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.149, allocations: 0.625 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.149, allocations: 0.6562 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/1.149, allocations: 49.47 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.149, allocations: 0 / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/1.15, allocations: 32.7 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/1.15, allocations: 5.531 kB / 1.328 GB, free: 20.88 MB / 1.061 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 8.918e-05/1.15, allocations: 127.3 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.009e-05/1.15, allocations: 21.84 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/1.15, allocations: 26 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.15, allocations: 4.469 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.15, allocations: 0.5 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.15, allocations: 4.203 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/1.15, allocations: 249.9 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.15, allocations: 4.594 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/1.15, allocations: 45.78 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.15, allocations: 0.6875 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.15, allocations: 1.219 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.15, allocations: 8.578 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.15, allocations: 0 / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/1.151, allocations: 353.4 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/1.151, allocations: 94 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/1.151, allocations: 9.125 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/1.152, allocations: 33.98 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/1.152, allocations: 14.17 kB / 1.329 GB, free: 20.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/1.152, allocations: 2.031 kB / 1.329 GB, free: 20.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000102/1.152, allocations: 142 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.152, allocations: 0 / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002713/1.152, allocations: 29.73 kB / 1.329 GB, free: 20.07 MB / 1.061 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.001154/1.153, allocations: 0.8935 MB / 1.33 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009043/1.154, allocations: 221.4 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.154, allocations: 1.062 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/1.154, allocations: 112.8 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/1.155, allocations: 30.34 kB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/1.159, allocations: 2.141 MB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/1.159, allocations: 0.7285 MB / 1.333 GB, free: 17.13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001067/1.159, allocations: 24.27 kB / 1.333 GB, free: 17.13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/1.159, allocations: 40.7 kB / 1.333 GB, free: 17.1 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/1.159, allocations: 0 / 1.333 GB, free: 17.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/1.181, allocations: 3.703 MB / 1.337 GB, free: 16.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.74/9.921, allocations: 6.078 kB / 1.337 GB, free: 16.57 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.666801831976045]