Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Validation.Multiply,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_10_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.007844/0.007844, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001886/0.001886, allocations: 194.8 kB / 16.68 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 64.12 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8191, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003754/0.8229, allocations: 1.999 MB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.8251, allocations: 1.205 MB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.8252, allocations: 8 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.8257, allocations: 163.4 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.8261, allocations: 155.4 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.8266, allocations: 229.7 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.827, allocations: 307.2 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.8271, allocations: 52.36 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.8274, allocations: 155.4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.8275, allocations: 147.4 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.8276, allocations: 16 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.8278, allocations: 55.92 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.8279, allocations: 87.72 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.828, allocations: 135.1 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.8284, allocations: 370.1 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8285, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8285, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.8285, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 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.0009742/0.8295, allocations: 0.6299 MB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.8295, allocations: 16.84 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.8296, allocations: 42.75 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.8296, allocations: 32.75 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.8301, allocations: 378.2 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.8301, allocations: 4 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.8302, allocations: 8 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.8304, allocations: 109.5 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.8304, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.8305, allocations: 4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8305, allocations: 8 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.8306, allocations: 63.86 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007701/0.8314, allocations: 492.5 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.8318, allocations: 150.6 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.8319, allocations: 44.84 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.8319, allocations: 3.984 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.8322, allocations: 120.7 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.8322, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005282/0.8327, allocations: 222.6 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.8328, allocations: 59.41 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.8333, allocations: 0.5054 MB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.8334, allocations: 33.7 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.8335, allocations: 164.4 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.8336, allocations: 35.78 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.8337, allocations: 65.92 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.8338, allocations: 350.8 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.8341, allocations: 104.5 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.8343, allocations: 132.1 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.8346, allocations: 182.5 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8346, allocations: 4 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005513/0.8352, allocations: 321.3 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.8352, allocations: 14.75 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8352, allocations: 0 / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.8352, allocations: 0 / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.8355, allocations: 51.91 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.8355, allocations: 4 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.8356, allocations: 19.88 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.8357, allocations: 12 kB / 1.175 GB, free: 10.13 MB / 0.9044 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.0001948/0.8359, allocations: 189.8 kB / 1.175 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.8359, allocations: 43.7 kB / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.836, allocations: 35.12 kB / 1.176 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.836, allocations: 0 / 1.176 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.836, allocations: 0 / 1.176 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8361, allocations: 3.938 kB / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.8364, allocations: 297.4 kB / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8364, allocations: 0 / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.8365, allocations: 15.94 kB / 1.176 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.8365, allocations: 7.922 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.8365, allocations: 8 kB / 1.176 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.8365, allocations: 4 kB / 1.176 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8365, allocations: 0 / 1.176 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.8369, allocations: 204.8 kB / 1.176 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.837, allocations: 112.8 kB / 1.176 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.8371, allocations: 8 kB / 1.176 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.8372, allocations: 7.984 kB / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.8372, allocations: 23.98 kB / 1.176 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.8373, allocations: 7.984 kB / 1.176 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003594/0.8376, allocations: 311.1 kB / 1.177 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8376, allocations: 0 / 1.177 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003037/0.8379, allocations: 63.88 kB / 1.177 GB, free: 8.727 MB / 0.9044 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.0017/0.8397, allocations: 1.069 MB / 1.178 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.8401, allocations: 204 kB / 1.178 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8401, allocations: 3.938 kB / 1.178 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.8403, allocations: 63.97 kB / 1.178 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.8408, allocations: 86.34 kB / 1.178 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.8445, allocations: 3.12 MB / 1.181 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.8449, allocations: 0.7909 MB / 1.182 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.8451, allocations: 50.95 kB / 1.182 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.8452, allocations: 111.4 kB / 1.182 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/0.8452, allocations: 3.938 kB / 1.182 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.87, allocations: 7.134 MB / 1.189 GB, free: 12.21 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/9.131, allocations: 12.56 kB / 1.189 GB, free: 12.2 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches