Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.001388/0.001388, allocations: 109 kB / 17.54 MB, free: 4.746 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.001408/0.001408, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] 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.349/2.349, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.88 kB / 1.059 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2619, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001872/0.2638, allocations: 0.8492 MB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2649, allocations: 0.9101 MB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.2649, allocations: 3.938 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.957e-05/0.265, allocations: 11.86 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.396e-05/0.2651, allocations: 15.88 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.2653, allocations: 59.84 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.2654, allocations: 139.6 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2656, allocations: 33.08 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.246e-05/0.2656, allocations: 55.84 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.2658, allocations: 75.72 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.2658, allocations: 12 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.2658, allocations: 12 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.2659, allocations: 39.89 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.2659, allocations: 55.66 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.2661, allocations: 147.6 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2661, allocations: 4 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2661, allocations: 0 / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2661, allocations: 0 / 1.218 GB, free: 13.46 MB / 0.9669 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.0007874/0.2669, allocations: 454.8 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.267, allocations: 8.031 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.267, allocations: 42.73 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.267, allocations: 12.84 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.2672, allocations: 204.7 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2672, allocations: 11.94 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.2673, allocations: 4 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.2677, allocations: 155.6 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2677, allocations: 0 / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.2677, allocations: 8 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2677, allocations: 0 / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.2683, allocations: 159.8 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.2689, allocations: 416.4 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/0.2697, allocations: 170.5 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.27, allocations: 84.86 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.27, allocations: 0 / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.2701, allocations: 34.56 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.2701, allocations: 3.938 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0009354/0.271, allocations: 281.5 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.271, allocations: 51.41 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2712, allocations: 156.6 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.2712, allocations: 33.7 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.2713, allocations: 104.1 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.2713, allocations: 31.73 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.2714, allocations: 25.7 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2715, allocations: 322.8 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.2718, allocations: 75.92 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.272, allocations: 79.86 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.2725, allocations: 152.7 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2725, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006015/0.2731, allocations: 205.9 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2731, allocations: 4 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2732, allocations: 0 / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2732, allocations: 3.984 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.2734, allocations: 39.95 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2734, allocations: 4.094 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2736, allocations: 31.8 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2736, allocations: 4 kB / 1.221 GB, free: 9.914 MB / 0.9669 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.0001111/0.2737, allocations: 125.8 kB / 1.221 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.2737, allocations: 15.88 kB / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.2738, allocations: 16.72 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2738, allocations: 4 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2738, allocations: 4 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2738, allocations: 0 / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.274, allocations: 233.5 kB / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.274, allocations: 3.938 kB / 1.222 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.2743, allocations: 35.95 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2743, allocations: 0 / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2743, allocations: 4 kB / 1.222 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2743, allocations: 4 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2743, allocations: 3.938 kB / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.2749, allocations: 299.2 kB / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.275, allocations: 89 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.275, allocations: 7.984 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.2752, allocations: 23.97 kB / 1.222 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/0.2753, allocations: 31.97 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2753, allocations: 4 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.621e-05/0.2754, allocations: 113.7 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.2754, allocations: 0 / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002398/0.2756, allocations: 35.83 kB / 1.222 GB, free: 8.789 MB / 0.9669 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.0009823/0.2766, allocations: 0.8374 MB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.2772, allocations: 171.7 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2772, allocations: 0 / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.2775, allocations: 99.91 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2778, allocations: 12 kB / 1.223 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.2805, allocations: 1.841 MB / 1.225 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2809, allocations: 0.7002 MB / 1.226 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.483e-05/0.2809, allocations: 28.42 kB / 1.226 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2811, allocations: 47.41 kB / 1.226 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.2811, allocations: 0 / 1.226 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.3062, allocations: 3.829 MB / 1.23 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.425, allocations: 8.688 kB / 1.23 GB, free: 1.188 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable add1.u[1] in file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[1] from file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[2] in file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[2] from file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[3] in file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[3] from file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.y in file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.y from file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.675119086998166]