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.001128/0.001128, 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.001159/0.001159, allocations: 195 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.432/1.432, 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 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437.1 MB / 0.7104 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.89 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8118/0.8134, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.005035/0.8185, allocations: 2.006 MB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.8212, allocations: 1.201 MB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.8215, allocations: 7.938 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.8221, allocations: 163.5 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005775/0.8227, allocations: 155.3 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.8235, allocations: 231 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000567/0.8241, allocations: 303.2 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.8243, allocations: 52.28 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.8246, allocations: 139.5 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.8249, allocations: 155.4 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.825, allocations: 12 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.8252, allocations: 55.97 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.8253, allocations: 91.67 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.8255, allocations: 123.2 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.826, allocations: 357 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.826, allocations: 3.984 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.826, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.826, allocations: 0 / 1.022 GB, free: 13.4 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.001399/0.8274, allocations: 0.6147 MB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.8275, allocations: 12.03 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.126e-05/0.8276, allocations: 42.73 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.8277, allocations: 36.47 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.8284, allocations: 374 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.8285, allocations: 7.938 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.8285, allocations: 11.98 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.8288, allocations: 109.5 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.8288, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.8288, allocations: 4 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.8289, allocations: 8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.829, allocations: 59.95 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.83, allocations: 0.4886 MB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.8304, allocations: 134.8 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.8305, allocations: 48.83 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.8306, allocations: 3.938 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.8308, allocations: 119.5 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.8309, allocations: 4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005706/0.8314, allocations: 225 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.8315, allocations: 51.41 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.8321, allocations: 0.5131 MB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.8322, allocations: 29.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.8324, allocations: 164.4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.8325, allocations: 43.53 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.8326, allocations: 65.97 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8328, allocations: 350.8 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.833, allocations: 100.5 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.8332, allocations: 131.6 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.8335, allocations: 184 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8336, allocations: 4 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005764/0.8341, allocations: 321.1 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.8342, allocations: 13.34 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8342, allocations: 0 / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.8342, allocations: 4 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.8344, allocations: 47.97 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8345, allocations: 7.938 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.8346, allocations: 19.83 kB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.8347, allocations: 16.06 kB / 1.027 GB, free: 8.84 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.0002026/0.8349, allocations: 183.2 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.8349, allocations: 31.56 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.835, allocations: 43.11 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.835, allocations: 0 / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.835, allocations: 0 / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8351, allocations: 4 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.8354, allocations: 297.4 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8354, allocations: 0 / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.8354, allocations: 16 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.8355, allocations: 3.938 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.8355, allocations: 11.98 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8355, allocations: 0 / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8355, allocations: 0 / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.836, allocations: 204.6 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.8361, allocations: 116.7 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.8362, allocations: 19.88 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.8363, allocations: 7.984 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.8364, allocations: 23.97 kB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.8364, allocations: 7.984 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003493/0.8367, allocations: 311.1 kB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8367, allocations: 0 / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003057/0.8371, allocations: 59.98 kB / 1.028 GB, free: 7.438 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.001609/0.8387, allocations: 1.058 MB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.8391, allocations: 187.9 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8391, allocations: 4 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.8393, allocations: 63.89 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.8399, allocations: 95.78 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.8442, allocations: 3.129 MB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.8446, allocations: 0.787 MB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000158/0.8447, allocations: 46.95 kB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.8449, allocations: 111.4 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.8449, allocations: 0 / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.8751, allocations: 7.037 MB / 1.04 GB, free: 11.08 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.808, allocations: 19.5 kB / 1.04 GB, free: 11.06 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