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.001217/0.001217, allocations: 108 kB / 15.6 MB, free: 132 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.001262/0.001262, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.61 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2676, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004124/0.2718, allocations: 2.003 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.2741, allocations: 1.196 MB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.2744, allocations: 7.938 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.2749, allocations: 155.4 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.2754, allocations: 155.4 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000679/0.2761, allocations: 230.4 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.2766, allocations: 303.2 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.2768, allocations: 52.36 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.2771, allocations: 139.5 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.2773, allocations: 151.4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.2773, allocations: 16 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.2775, allocations: 55.92 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2776, allocations: 91.72 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2777, allocations: 123.1 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.2782, allocations: 363 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.2782, allocations: 0 / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2782, allocations: 7.875 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.2782, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.8262 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.001005/0.2792, allocations: 0.6147 MB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2793, allocations: 12.03 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.2793, allocations: 34.75 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.2794, allocations: 36.5 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.28, allocations: 381.9 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.28, allocations: 8 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.28, allocations: 8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2803, allocations: 105.6 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2803, allocations: 4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2803, allocations: 4 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2803, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.2805, allocations: 59.95 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.2813, allocations: 0.4963 MB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.2817, allocations: 138.7 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.2818, allocations: 48.84 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.2818, allocations: 4 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.2821, allocations: 113.6 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.2821, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005471/0.2826, allocations: 225.3 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2827, allocations: 51.41 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.2832, allocations: 0.5054 MB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2833, allocations: 33.69 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.2834, allocations: 168.4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.2834, allocations: 35.55 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2836, allocations: 73.88 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2837, allocations: 346.8 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2839, allocations: 100.5 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.2841, allocations: 131.6 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.2844, allocations: 188.2 kB / 1.072 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2844, allocations: 4 kB / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005268/0.285, allocations: 321.2 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.285, allocations: 7.938 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.285, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.285, allocations: 4 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.2853, allocations: 51.91 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.2853, allocations: 4.062 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2854, allocations: 23.83 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.2855, allocations: 15.94 kB / 1.073 GB, free: 4.922 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.0001972/0.2857, allocations: 181.7 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.2858, allocations: 43.45 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.2858, allocations: 31.12 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2858, allocations: 4 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2859, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2859, allocations: 4 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.2861, allocations: 305.4 kB / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2861, allocations: 0 / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.2862, allocations: 8 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.2862, allocations: 7.938 kB / 1.073 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2862, allocations: 3.984 kB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2862, allocations: 0 / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2862, allocations: 0 / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.2866, allocations: 218.5 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.2867, allocations: 112.7 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.2867, allocations: 3.938 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.2868, allocations: 11.98 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.2869, allocations: 15.98 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2869, allocations: 7.984 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003009/0.2872, allocations: 315.1 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2872, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002916/0.2875, allocations: 59.89 kB / 1.074 GB, free: 3.523 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.001496/0.289, allocations: 1.071 MB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.2895, allocations: 195.8 kB / 1.075 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2895, allocations: 128 / 1.075 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.2896, allocations: 67.91 kB / 1.075 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.2901, allocations: 90.77 kB / 1.075 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.2937, allocations: 3.133 MB / 1.078 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.294, allocations: 0.787 MB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.2942, allocations: 54.95 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.2944, allocations: 107.4 kB / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.2944, allocations: 0 / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3189, allocations: 7.05 MB / 1.086 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.617, allocations: 0 / 1.086 GB, free: 7.121 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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