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.0009231/0.0009231, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001024/0.001024, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9143/0.9143, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.747/1.747, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.118e-05, allocations: 2.281 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001413/0.001435, allocations: 0.8176 MB / 0.9818 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.002372, allocations: 0.9211 MB / 0.9827 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.002429, allocations: 0 / 0.9827 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.002528, allocations: 11.81 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.994e-05/0.002628, allocations: 23.84 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.002796, allocations: 63.8 kB / 0.9828 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.002933, allocations: 127.7 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.003055, allocations: 25.28 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.045e-05/0.003145, allocations: 83.8 kB / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.003262, allocations: 59.86 kB / 0.9831 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.003296, allocations: 12 kB / 0.9831 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.529e-05/0.003311, allocations: 12 kB / 0.9831 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.00336, allocations: 35.89 kB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.003401, allocations: 39.84 kB / 0.9832 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.003558, allocations: 163.5 kB / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.00356, allocations: 0 / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003562, allocations: 0 / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.003566, allocations: 0 / 0.9833 GB, free: 204 kB / 0.9323 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.0005675/0.004133, allocations: 373.7 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.004175, allocations: 8.031 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.00438, allocations: 42.73 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.004412, allocations: 12.84 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.004577, allocations: 151.8 kB / 0.9839 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.004593, allocations: 8.375 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.004609, allocations: 12.12 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.00488, allocations: 152.1 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.004886, allocations: 4 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.004899, allocations: 3.984 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004904, allocations: 0 / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.005243, allocations: 159.8 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.005685, allocations: 355.6 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.006163, allocations: 170.4 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.006312, allocations: 88.89 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.006329, allocations: 0 / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.006349, allocations: 42.55 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.006351, allocations: 0 / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0005393/0.00689, allocations: 281.4 kB / 0.9851 GB, free: 14.24 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.006921, allocations: 51.41 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.007014, allocations: 151 kB / 0.9853 GB, free: 14.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.007027, allocations: 25.7 kB / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.007079, allocations: 104.1 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.007104, allocations: 27.75 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.007146, allocations: 29.7 kB / 0.9855 GB, free: 13.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.007222, allocations: 326.8 kB / 0.9858 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.007367, allocations: 75.92 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.0075, allocations: 71.92 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.007794, allocations: 165.2 kB / 0.9861 GB, free: 13.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007797, allocations: 0 / 0.9861 GB, free: 13.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003587/0.008155, allocations: 205.4 kB / 0.9863 GB, free: 12.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.008172, allocations: 11.94 kB / 0.9863 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.008178, allocations: 4 kB / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.008191, allocations: 0 / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.008321, allocations: 39.95 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.008327, allocations: 0 / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.008405, allocations: 27.92 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.008416, allocations: 3.984 kB / 0.9864 GB, free: 12.88 MB / 0.948 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 8.777e-05/0.008504, allocations: 121.8 kB / 0.9865 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.008525, allocations: 7.953 kB / 0.9865 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.008554, allocations: 28.64 kB / 0.9865 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008556, allocations: 0 / 0.9865 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.008561, allocations: 0 / 0.9865 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008564, allocations: 4 kB / 0.9865 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.008727, allocations: 192.6 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.00873, allocations: 4 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.008835, allocations: 31.95 kB / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.008838, allocations: 4 kB / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.00885, allocations: 7.938 kB / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.008852, allocations: 0 / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008854, allocations: 0 / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.009234, allocations: 299.3 kB / 0.987 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.009248, allocations: 7.953 kB / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.009265, allocations: 7.938 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.00936, allocations: 23.97 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.009445, allocations: 31.95 kB / 0.9871 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.009454, allocations: 7.984 kB / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.554e-05/0.00951, allocations: 110.5 kB / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00951, allocations: 0 / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001717/0.009681, allocations: 23.95 kB / 0.9872 GB, free: 11.92 MB / 0.948 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.0005759/0.01026, allocations: 0.849 MB / 0.9881 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.01059, allocations: 163.8 kB / 0.9882 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01059, allocations: 0 / 0.9882 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.01076, allocations: 99.84 kB / 0.9883 GB, free: 10.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.01097, allocations: 15.92 kB / 0.9883 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.01269, allocations: 1.846 MB / 0.9901 GB, free: 8.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.999e-05/0.01276, allocations: 101.2 kB / 0.9902 GB, free: 8.723 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.926e-05/0.01283, allocations: 20.5 kB / 0.9902 GB, free: 8.703 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.01292, allocations: 48.47 kB / 0.9903 GB, free: 8.656 MB / 0.948 GB Notification: Performance of SimCode: time 6.72e-07/0.01292, allocations: 4 kB / 0.9903 GB, free: 8.652 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.03076, allocations: 4.686 MB / 0.9949 GB, free: 4.129 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/6.807, allocations: 8.219 kB / 0.9949 GB, free: 4.129 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/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] "Error: Could not read variable add1.u[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.u[3] in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.u[3] from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! Error: Could not read variable add1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv. Warning: Get data of variable add1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.007289612665772]