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.001261/0.001261, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001066/0.001066, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9106/0.9106, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.702/1.702, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.885e-06/2.885e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.131e-05, allocations: 6.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00149/0.001511, allocations: 0.8146 MB / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.002403, allocations: 0.9248 MB / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.002459, allocations: 4 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.00256, allocations: 15.86 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.597e-05/0.002656, allocations: 15.81 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.002815, allocations: 59.86 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.002946, allocations: 131.7 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.003061, allocations: 21.3 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.003152, allocations: 83.8 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.003258, allocations: 67.84 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.003286, allocations: 15.94 kB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.003301, allocations: 12 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.003352, allocations: 35.89 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.003391, allocations: 39.89 kB / 0.9832 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.003537, allocations: 151.5 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00354, allocations: 4 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003541, allocations: 0 / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.003544, allocations: 0 / 0.9833 GB, free: 164 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.0005424/0.004087, allocations: 369.8 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.004124, allocations: 12.03 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.004157, allocations: 38.75 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.004187, allocations: 12.84 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.004354, allocations: 154 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.00437, allocations: 12.38 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.004385, allocations: 12.12 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.004644, allocations: 155.4 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004651, allocations: 0 / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.004663, allocations: 4 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.004667, allocations: 0 / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.004954, allocations: 159.8 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.005369, allocations: 359.6 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.005832, allocations: 170.5 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.005979, allocations: 80.88 kB / 0.9848 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.005996, allocations: 0 / 0.9848 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.006013, allocations: 38.56 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.006014, allocations: 7.938 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0005253/0.006539, allocations: 281.4 kB / 0.9851 GB, free: 14.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.006567, allocations: 51.41 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.006653, allocations: 152.7 kB / 0.9853 GB, free: 13.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.006666, allocations: 29.64 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.006714, allocations: 104.1 kB / 0.9854 GB, free: 13.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.006739, allocations: 31.73 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.006781, allocations: 29.7 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.261e-05/0.006864, allocations: 322.8 kB / 0.9858 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.007002, allocations: 71.92 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.007135, allocations: 79.92 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.007406, allocations: 152.7 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007408, allocations: 0 / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005436/0.007952, allocations: 206 kB / 0.9863 GB, free: 12.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.007972, allocations: 7.938 kB / 0.9863 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.007979, allocations: 0 / 0.9863 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.007992, allocations: 4 kB / 0.9863 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.008141, allocations: 39.89 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.008147, allocations: 96 / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.008233, allocations: 31.86 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.008242, allocations: 7.938 kB / 0.9864 GB, free: 12.84 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.568e-05/0.008328, allocations: 121.8 kB / 0.9865 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.008357, allocations: 7.953 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.008385, allocations: 20.72 kB / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008387, allocations: 0 / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.008392, allocations: 0 / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.008394, allocations: 0 / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.008572, allocations: 200.6 kB / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008573, allocations: 0 / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.008689, allocations: 35.95 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.008693, allocations: 4 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.008704, allocations: 7.922 kB / 0.9867 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.008709, allocations: 7.938 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.00871, allocations: 0 / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.009091, allocations: 303.3 kB / 0.987 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.009109, allocations: 11.89 kB / 0.987 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.009127, allocations: 3.938 kB / 0.987 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.009245, allocations: 19.97 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.009328, allocations: 35.95 kB / 0.9871 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.009337, allocations: 4 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.009392, allocations: 108.9 kB / 0.9872 GB, free: 11.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009393, allocations: 8 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001728/0.009565, allocations: 23.95 kB / 0.9872 GB, free: 11.87 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.0005505/0.01012, allocations: 0.8333 MB / 0.9881 GB, free: 11.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.01046, allocations: 171.9 kB / 0.9882 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01046, allocations: 4 kB / 0.9882 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.01062, allocations: 99.84 kB / 0.9883 GB, free: 10.74 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.01083, allocations: 12 kB / 0.9883 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.01254, allocations: 1.846 MB / 0.9901 GB, free: 8.793 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.351e-05/0.0126, allocations: 93.25 kB / 0.9902 GB, free: 8.684 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.168e-05/0.01267, allocations: 28.48 kB / 0.9902 GB, free: 8.656 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.01276, allocations: 48.47 kB / 0.9903 GB, free: 8.609 MB / 0.948 GB Notification: Performance of SimCode: time 7.61e-07/0.01276, allocations: 0 / 0.9903 GB, free: 8.609 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.03069, allocations: 4.685 MB / 0.9949 GB, free: 4.094 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/6.841, allocations: 10.38 kB / 0.9949 GB, free: 4.086 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.847841583192348]