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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007738/0.0007738, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000839/0.000839, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8646/0.8646, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.755/1.755, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.399e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003342/0.003366, allocations: 1.965 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.004889, allocations: 1.286 MB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.004999, allocations: 7.938 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.005354, allocations: 151.4 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.005726, allocations: 223 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.006004, allocations: 167.4 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.006322, allocations: 343 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.006459, allocations: 36.92 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.006657, allocations: 187.5 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.006809, allocations: 143.6 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.006835, allocations: 12 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.006946, allocations: 63.84 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.007031, allocations: 99.61 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.007093, allocations: 63.78 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.007435, allocations: 382.7 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.007439, allocations: 7.938 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.212e-06/0.007441, allocations: 0 / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.007447, allocations: 0 / 1.005 GB, free: 8.375 MB / 0.9636 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.0007397/0.008186, allocations: 0.5663 MB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.008227, allocations: 12.75 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.008267, allocations: 46.67 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.008331, allocations: 36.7 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.008704, allocations: 320.1 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.008722, allocations: 11.94 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.008738, allocations: 12 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.008917, allocations: 109.5 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.008924, allocations: 4 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.008936, allocations: 4 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.008941, allocations: 0 / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.009052, allocations: 67.95 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.009608, allocations: 451.5 kB / 1.006 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.009826, allocations: 134.7 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.319e-05/0.009899, allocations: 52.83 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.009913, allocations: 4 kB / 1.006 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.01008, allocations: 111.3 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.01008, allocations: 0 / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003811/0.01046, allocations: 248.2 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.01049, allocations: 51.41 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.01089, allocations: 0.5289 MB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.01091, allocations: 29.69 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01101, allocations: 176.5 kB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.01104, allocations: 39.72 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.01111, allocations: 73.92 kB / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.01121, allocations: 350.8 kB / 1.008 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.01134, allocations: 112.4 kB / 1.008 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.01147, allocations: 131.6 kB / 1.008 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.01169, allocations: 187.5 kB / 1.008 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.01169, allocations: 0 / 1.008 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003561/0.01205, allocations: 342.3 kB / 1.009 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01206, allocations: 5.719 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01207, allocations: 0 / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.01208, allocations: 7.938 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01222, allocations: 47.91 kB / 1.009 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.01223, allocations: 7.984 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.0123, allocations: 15.89 kB / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.01233, allocations: 23.97 kB / 1.009 GB, free: 3.91 MB / 0.9636 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.0001272/0.01246, allocations: 181.7 kB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.01249, allocations: 39.83 kB / 1.009 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.01276, allocations: 211.5 kB / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01277, allocations: 7.938 kB / 1.009 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01277, allocations: 0 / 1.009 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01278, allocations: 0 / 1.009 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01296, allocations: 252.6 kB / 1.009 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01296, allocations: 0 / 1.009 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.013, allocations: 19.92 kB / 1.009 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.013, allocations: 0 / 1.009 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01302, allocations: 12 kB / 1.01 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01302, allocations: 7.922 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01302, allocations: 3.938 kB / 1.01 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.01325, allocations: 224.8 kB / 1.01 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.0133, allocations: 39.7 kB / 1.01 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01332, allocations: 4 kB / 1.01 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.01337, allocations: 19.92 kB / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.01342, allocations: 19.97 kB / 1.01 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.01343, allocations: 4 kB / 1.01 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002274/0.01366, allocations: 331.1 kB / 1.01 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01366, allocations: 4 kB / 1.01 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00021/0.01387, allocations: 63.89 kB / 1.01 GB, free: 2.418 MB / 0.9636 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.00116/0.01503, allocations: 1.095 MB / 1.011 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.01531, allocations: 194.5 kB / 1.011 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01531, allocations: 0 / 1.011 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.0154, allocations: 63.97 kB / 1.012 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.01569, allocations: 92.8 kB / 1.012 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.01853, allocations: 3.244 MB / 1.015 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.01866, allocations: 191.8 kB / 1.015 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.01877, allocations: 46.95 kB / 1.015 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.0189, allocations: 120.4 kB / 1.015 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of SimCode: time 5.71e-07/0.0189, allocations: 4 kB / 1.015 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.04235, allocations: 8.479 MB / 1.023 GB, free: 5.059 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.74/6.782, allocations: 10.06 kB / 1.023 GB, free: 5.051 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.794874793849885]