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.0009851/0.0009851, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009423/0.0009423, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.907/0.907, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.741/1.741, allocations: 377.9 MB / 0.6221 GB, free: 8.648 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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.981 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.104e-05, allocations: 4.953 kB / 0.981 GB, free: 2.488 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001267/0.001288, allocations: 0.8466 MB / 0.9819 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008527/0.002141, allocations: 0.9055 MB / 0.9828 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.002199, allocations: 4 kB / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.002302, allocations: 15.8 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.002419, allocations: 31.73 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.00253, allocations: 35.94 kB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.002672, allocations: 139.5 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.002825, allocations: 37.5 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.002918, allocations: 87.75 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.003031, allocations: 71.83 kB / 0.9832 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.00306, allocations: 16 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.003074, allocations: 12 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.003124, allocations: 43.84 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.003166, allocations: 35.91 kB / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.003314, allocations: 179.4 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003315, allocations: 4 kB / 0.9834 GB, free: 20 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003316, allocations: 0 / 0.9834 GB, free: 20 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.00332, allocations: 0 / 0.9834 GB, free: 20 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005753/0.003895, allocations: 441.4 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.00393, allocations: 8.031 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.003966, allocations: 38.75 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.003993, allocations: 16.84 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.004176, allocations: 169.9 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.004189, allocations: 12.38 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.004204, allocations: 8.375 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.004525, allocations: 182.1 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.004534, allocations: 4.172 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.004546, allocations: 384 / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.004552, allocations: 12.06 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.00495, allocations: 223.7 kB / 0.9845 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.005548, allocations: 467.4 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.005804, allocations: 150.4 kB / 0.9851 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.005999, allocations: 112.8 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.006013, allocations: 0 / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.006033, allocations: 30.56 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 7.81e-07/0.006034, allocations: 4 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0006553/0.006689, allocations: 361.6 kB / 0.9856 GB, free: 13.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.006723, allocations: 55.39 kB / 0.9856 GB, free: 13.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.006833, allocations: 179.8 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.006847, allocations: 29.7 kB / 0.9858 GB, free: 13.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.006905, allocations: 124 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.006933, allocations: 35.67 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.006969, allocations: 17.72 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.00705, allocations: 330.8 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.007238, allocations: 103.9 kB / 0.9864 GB, free: 12.78 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.007424, allocations: 103.9 kB / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.007786, allocations: 212.6 kB / 0.9867 GB, free: 12.47 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007788, allocations: 0.5625 kB / 0.9867 GB, free: 12.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004324/0.00822, allocations: 265.2 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.008234, allocations: 4 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.008239, allocations: 0 / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.00825, allocations: 4 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.008397, allocations: 47.94 kB / 0.987 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.008401, allocations: 3.938 kB / 0.987 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.008487, allocations: 31.95 kB / 0.9871 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.008495, allocations: 7.938 kB / 0.9871 GB, free: 12.11 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: 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 7.41e-05/0.00857, allocations: 125.8 kB / 0.9872 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.008589, allocations: 15.91 kB / 0.9872 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.008618, allocations: 29.45 kB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.00862, allocations: 0 / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.008624, allocations: 0 / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.008626, allocations: 7.938 kB / 0.9872 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.008798, allocations: 208.6 kB / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008799, allocations: 0 / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.008903, allocations: 39.95 kB / 0.9875 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.008904, allocations: 0 / 0.9875 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.008912, allocations: 4 kB / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008913, allocations: 0 / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008914, allocations: 0 / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.009348, allocations: 363.1 kB / 0.9878 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.009364, allocations: 19.84 kB / 0.9878 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.009381, allocations: 8 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.009481, allocations: 27.95 kB / 0.9879 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.009532, allocations: 15.92 kB / 0.9879 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.009538, allocations: 7.984 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.009608, allocations: 127.2 kB / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.009608, allocations: 0 / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001641/0.009772, allocations: 31.94 kB / 0.988 GB, free: 11.03 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: 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.0006065/0.01038, allocations: 0.892 MB / 0.9889 GB, free: 10.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.0108, allocations: 215.7 kB / 0.9891 GB, free: 9.895 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0108, allocations: 4 kB / 0.9891 GB, free: 9.891 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.01099, allocations: 107.9 kB / 0.9892 GB, free: 9.785 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.01121, allocations: 23.98 kB / 0.9893 GB, free: 9.762 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.01326, allocations: 2.156 MB / 0.9914 GB, free: 7.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.446e-05/0.01334, allocations: 106.8 kB / 0.9915 GB, free: 7.391 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.938e-05/0.0134, allocations: 24.48 kB / 0.9915 GB, free: 7.367 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.01347, allocations: 44.48 kB / 0.9915 GB, free: 7.324 MB / 0.948 GB Notification: Performance of SimCode: time 4.4e-07/0.01347, allocations: 0 / 0.9915 GB, free: 7.324 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.02969, allocations: 4.507 MB / 0.9959 GB, free: 3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/6.734, allocations: 2.656 kB / 0.9959 GB, free: 3 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.839109341613948]