Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.005656/0.005661, allocations: 99.44 kB / 15.73 MB, free: 6.039 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.001374/0.001374, allocations: 195.3 kB / 16.68 MB, free: 5.961 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.637/2.637, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 71.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2893, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00179/0.2911, allocations: 0.8454 MB / 1.243 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.2921, allocations: 0.8973 MB / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.2921, allocations: 4 kB / 1.244 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2923, allocations: 15.81 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.799e-05/0.2924, allocations: 15.86 kB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.2925, allocations: 59.86 kB / 1.244 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.2927, allocations: 127.7 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2928, allocations: 49.08 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.2929, allocations: 63.7 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2931, allocations: 71.72 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.2931, allocations: 12 kB / 1.244 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.47e-05/0.2931, allocations: 12 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.2932, allocations: 39.89 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.2933, allocations: 63.66 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2934, allocations: 147.3 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2934, allocations: 0 / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2935, allocations: 0 / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2935, allocations: 0 / 1.244 GB, free: 7.398 MB / 0.9981 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.0007619/0.2942, allocations: 442.9 kB / 1.245 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2943, allocations: 8.031 kB / 1.245 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.2943, allocations: 42.73 kB / 1.245 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.2944, allocations: 16.84 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.2946, allocations: 207.5 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.2946, allocations: 11.94 kB / 1.245 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.2946, allocations: 11.94 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.295, allocations: 149.5 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.295, allocations: 0 / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.295, allocations: 4 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2951, allocations: 4 kB / 1.245 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.2956, allocations: 155.8 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.2962, allocations: 412.5 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007981/0.297, allocations: 182.5 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.2973, allocations: 80.91 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.2973, allocations: 8 kB / 1.246 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2974, allocations: 34.56 kB / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.2974, allocations: 0 / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0009037/0.2983, allocations: 277.5 kB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.2983, allocations: 59.77 kB / 1.246 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2985, allocations: 146.4 kB / 1.246 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2985, allocations: 25.7 kB / 1.246 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.2986, allocations: 108 kB / 1.247 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.2986, allocations: 39.66 kB / 1.247 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.2987, allocations: 33.7 kB / 1.247 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2988, allocations: 322.8 kB / 1.247 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.2991, allocations: 71.92 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.2993, allocations: 79.86 kB / 1.247 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.2998, allocations: 156.7 kB / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2999, allocations: 0 / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005915/0.3005, allocations: 209.4 kB / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3005, allocations: 8 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3005, allocations: 0 / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3005, allocations: 0 / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.3007, allocations: 35.95 kB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3007, allocations: 0 / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3009, allocations: 27.91 kB / 1.247 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.3009, allocations: 7.938 kB / 1.247 GB, free: 3.852 MB / 0.9981 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.0001059/0.301, allocations: 129.8 kB / 1.248 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.3011, allocations: 11.89 kB / 1.248 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.3011, allocations: 16.72 kB / 1.248 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3011, allocations: 0 / 1.248 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3011, allocations: 0 / 1.248 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3011, allocations: 4 kB / 1.248 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.3014, allocations: 233.8 kB / 1.248 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3014, allocations: 3.938 kB / 1.248 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.3016, allocations: 39.95 kB / 1.248 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3016, allocations: 7.938 kB / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3017, allocations: 0 / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3017, allocations: 0 / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3017, allocations: 3.984 kB / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.3023, allocations: 303.2 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.3024, allocations: 92.98 kB / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3024, allocations: 0 / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.3026, allocations: 23.97 kB / 1.248 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3027, allocations: 31.97 kB / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3027, allocations: 4 kB / 1.248 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.3028, allocations: 117.3 kB / 1.248 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3028, allocations: 0 / 1.248 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002249/0.303, allocations: 23.95 kB / 1.248 GB, free: 2.734 MB / 0.9981 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.0009745/0.304, allocations: 0.8455 MB / 1.249 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005906/0.3046, allocations: 167.8 kB / 1.249 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3046, allocations: 4 kB / 1.249 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.3049, allocations: 100.3 kB / 1.25 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3052, allocations: 14.02 kB / 1.25 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4698/0.7751, allocations: 1.846 MB / 1.251 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.7752, allocations: 0.7053 MB / 1.252 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.7754, allocations: 21.89 kB / 1.252 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.7755, allocations: 49.66 kB / 1.252 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.7755, allocations: 1.312 kB / 1.252 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.64/2.416, allocations: 3.805 MB / 1.256 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/15.7, allocations: 14.97 kB / 1.256 GB, free: 13.04 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches