Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",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.001269/0.001269, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 71.23 kB / 0.8992 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2872, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003316/0.2906, allocations: 2.003 MB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.2925, allocations: 1.197 MB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.2927, allocations: 0 / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.2931, allocations: 159.4 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.2936, allocations: 155.4 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.2941, allocations: 226.5 kB / 1.057 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.2945, allocations: 323.1 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2947, allocations: 36.39 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.2949, allocations: 139.5 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2951, allocations: 151.4 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.2952, allocations: 16 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.2953, allocations: 63.95 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.2954, allocations: 79.75 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2956, allocations: 131.1 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.2959, allocations: 355 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.296, allocations: 4 kB / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.296, allocations: 0 / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.296, allocations: 0 / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009506/0.2969, allocations: 0.6225 MB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.297, allocations: 12.56 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.297, allocations: 46.67 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.2971, allocations: 36.56 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.2976, allocations: 374 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2976, allocations: 11.98 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.2977, allocations: 4 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.2979, allocations: 109.6 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2979, allocations: 0 / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2979, allocations: 3.938 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2979, allocations: 4 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.2981, allocations: 59.95 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.2988, allocations: 0.4925 MB / 1.06 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.2992, allocations: 134.7 kB / 1.06 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.2993, allocations: 48.83 kB / 1.06 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.2993, allocations: 4 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.2995, allocations: 111.3 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2996, allocations: 0 / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004966/0.3001, allocations: 225 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.3001, allocations: 59.41 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/0.3007, allocations: 0.5054 MB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3007, allocations: 33.64 kB / 1.061 GB, free: 164 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3009, allocations: 168.4 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.3009, allocations: 35.55 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3011, allocations: 73.86 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3012, allocations: 350.8 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.3014, allocations: 96.52 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.3017, allocations: 139.5 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.302, allocations: 176.3 kB / 1.062 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3021, allocations: 0 / 1.062 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006089/0.3027, allocations: 325.2 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3027, allocations: 7.938 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3027, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3027, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.303, allocations: 55.97 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.303, allocations: 3.984 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3032, allocations: 19.84 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.3032, allocations: 15.98 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.000247/0.3035, allocations: 177.8 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.3035, allocations: 35.56 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.3036, allocations: 35.12 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3036, allocations: 0 / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3036, allocations: 4 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3036, allocations: 0 / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.304, allocations: 309.3 kB / 1.063 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.304, allocations: 4 kB / 1.063 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.3041, allocations: 19.92 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3041, allocations: 3.938 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3041, allocations: 0 / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3041, allocations: 7.938 kB / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3041, allocations: 0 / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.3045, allocations: 204.7 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3047, allocations: 112.7 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.3047, allocations: 11.92 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.3048, allocations: 8 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.3049, allocations: 15.97 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3049, allocations: 8 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003695/0.3053, allocations: 315.1 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3053, allocations: 0 / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003044/0.3056, allocations: 63.91 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.01681/0.3224, allocations: 1.055 MB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000616/0.3231, allocations: 207.8 kB / 1.065 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3231, allocations: 0 / 1.065 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3233, allocations: 61.53 kB / 1.065 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.3239, allocations: 90.33 kB / 1.065 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.328, allocations: 3.133 MB / 1.068 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.3285, allocations: 0.7869 MB / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.3287, allocations: 54.94 kB / 1.069 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3288, allocations: 107.4 kB / 1.069 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.3288, allocations: 4 kB / 1.069 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04552/0.3744, allocations: 7.054 MB / 1.076 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.058, allocations: 3.984 kB / 1.076 GB, free: 0.8789 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches