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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001312/0.001312, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005332/0.005332, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.311/2.311, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003295, allocations: 8 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.5149, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002023/0.517, allocations: 1.7 MB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.5187, allocations: 1.174 MB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.5188, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.5192, allocations: 147.6 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.5195, allocations: 143.5 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.52, allocations: 207.4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.5203, allocations: 287.2 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.5204, allocations: 48.28 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.5206, allocations: 135.3 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.5208, allocations: 131.5 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.5209, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.521, allocations: 55.89 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.5211, allocations: 79.72 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.5212, allocations: 136.9 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.5215, allocations: 344.9 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5215, allocations: 4 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5215, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5215, allocations: 3.938 kB / 1.028 GB, free: 11.31 MB / 0.7794 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.0007745/0.5223, allocations: 0.5721 MB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5224, allocations: 8.031 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.5224, allocations: 38.75 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.5225, allocations: 36.55 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.5229, allocations: 377.9 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.5229, allocations: 7.984 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.523, allocations: 8 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.5232, allocations: 101.6 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.5232, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.5232, allocations: 8 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5232, allocations: 4 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.5234, allocations: 59.95 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.5241, allocations: 0.4964 MB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.5244, allocations: 138.6 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.5245, allocations: 52.83 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.5245, allocations: 0 / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.5247, allocations: 111.3 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.5247, allocations: 0 / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004677/0.5252, allocations: 225.3 kB / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.5253, allocations: 55.41 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.5258, allocations: 0.5131 MB / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.5258, allocations: 25.7 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.5259, allocations: 168.4 kB / 1.031 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.5259, allocations: 39.55 kB / 1.031 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.526, allocations: 41.69 kB / 1.031 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5261, allocations: 338.8 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.5263, allocations: 104.5 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.5265, allocations: 135.6 kB / 1.031 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.5268, allocations: 182.5 kB / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5268, allocations: 0 / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000481/0.5273, allocations: 318.6 kB / 1.032 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.5273, allocations: 16 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5273, allocations: 3.984 kB / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5273, allocations: 4 kB / 1.032 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.5275, allocations: 47.91 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.5276, allocations: 4 kB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.5277, allocations: 19.84 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.5277, allocations: 15.98 kB / 1.032 GB, free: 6.836 MB / 0.7794 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.0001591/0.5279, allocations: 182.2 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.5279, allocations: 39.56 kB / 1.032 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.528, allocations: 31.12 kB / 1.032 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.528, allocations: 4 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.528, allocations: 0 / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.528, allocations: 0 / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.5283, allocations: 297.5 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.5283, allocations: 0 / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.5284, allocations: 19.97 kB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.5284, allocations: 3.938 kB / 1.032 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.5284, allocations: 4 kB / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5284, allocations: 4 kB / 1.032 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5284, allocations: 0 / 1.032 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.5287, allocations: 212.4 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.5288, allocations: 124.6 kB / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.5289, allocations: 15.88 kB / 1.033 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.529, allocations: 11.98 kB / 1.033 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.529, allocations: 11.98 kB / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.5291, allocations: 15.98 kB / 1.033 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002974/0.5294, allocations: 311.1 kB / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5294, allocations: 0 / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000264/0.5296, allocations: 59.98 kB / 1.033 GB, free: 5.426 MB / 0.7794 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.001326/0.531, allocations: 1.06 MB / 1.034 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.5313, allocations: 188.1 kB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5313, allocations: 0 / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.5315, allocations: 71.83 kB / 1.034 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.5319, allocations: 85.31 kB / 1.034 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.5354, allocations: 3.179 MB / 1.037 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.5357, allocations: 0.7831 MB / 1.038 GB, free: 88 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.5358, allocations: 58.94 kB / 1.038 GB, free: 24 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.536, allocations: 99.47 kB / 1.038 GB, free: 15.92 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.536, allocations: 0 / 1.038 GB, free: 15.92 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.073/2.609, allocations: 6.504 MB / 1.045 GB, free: 9.59 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003355/2.61, allocations: 258.2 kB / 1.045 GB, free: 9.324 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.129/5.739, allocations: 2.375 kB / 1.045 GB, free: 9.324 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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