Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00484/0.00484, allocations: 100.6 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 194.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.03 kB / 0.9505 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2872, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002226/0.2895, allocations: 0.8734 MB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2907, allocations: 0.878 MB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.227e-05/0.2908, allocations: 3.938 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.2909, allocations: 15.86 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2911, allocations: 27.72 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.2912, allocations: 39.94 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.2914, allocations: 135.7 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.2916, allocations: 61.27 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.2917, allocations: 59.77 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2919, allocations: 83.72 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.2919, allocations: 15.94 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.2919, allocations: 12 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.292, allocations: 43.84 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.2921, allocations: 63.59 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.2923, allocations: 170.2 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2923, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2923, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2923, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 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.0009814/0.2933, allocations: 0.5073 MB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2934, allocations: 8.031 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.2934, allocations: 38.75 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.2935, allocations: 16.75 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.2937, allocations: 227.9 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2937, allocations: 4.375 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.2937, allocations: 8.375 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.2943, allocations: 178.1 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2943, allocations: 7.938 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2943, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2943, allocations: 3.984 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007748/0.2951, allocations: 227.7 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2962, allocations: 0.5119 MB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.2966, allocations: 146.5 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.297, allocations: 124.7 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.297, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2971, allocations: 30.56 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.2971, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001235/0.2983, allocations: 373.2 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.2984, allocations: 55.34 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.2986, allocations: 175.6 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.2986, allocations: 29.7 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.2987, allocations: 120 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.2987, allocations: 27.55 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.2988, allocations: 29.66 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2989, allocations: 326.8 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.2993, allocations: 99.89 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.2997, allocations: 107.9 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.3004, allocations: 212.6 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3004, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007835/0.3012, allocations: 257.8 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3012, allocations: 12 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3012, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3012, allocations: 4 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.3015, allocations: 43.94 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3015, allocations: 7.875 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.3017, allocations: 39.98 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3018, allocations: 7.938 kB / 1.094 GB, free: 11.34 MB / 0.8575 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 0.0001118/0.3019, allocations: 129.8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.3019, allocations: 11.81 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.302, allocations: 21.39 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.302, allocations: 4 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.302, allocations: 3.938 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.302, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.3023, allocations: 245.5 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3023, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.3025, allocations: 51.94 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3026, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3026, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3026, allocations: 3.984 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3026, allocations: 7.938 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.3034, allocations: 355.1 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.3035, allocations: 88.92 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.3035, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.3038, allocations: 39.94 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.3038, allocations: 19.86 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.3039, allocations: 4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000107/0.304, allocations: 140.2 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.304, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002539/0.3042, allocations: 31.94 kB / 1.095 GB, free: 10.11 MB / 0.8575 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.0012/0.3054, allocations: 0.8878 MB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008049/0.3063, allocations: 227.8 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3063, allocations: 0 / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.3067, allocations: 115.9 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.307, allocations: 35.67 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.3106, allocations: 2.144 MB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.311, allocations: 0.7241 MB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.3111, allocations: 24.41 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3112, allocations: 43.42 kB / 1.099 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of SimCode: time 8.51e-07/0.3112, allocations: 480 / 1.099 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.335, allocations: 3.722 MB / 1.103 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.113, allocations: 16.02 kB / 1.103 GB, free: 2.172 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches