Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_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.007493/0.007493, allocations: 104.9 kB / 15.74 MB, free: 6.496 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.001559/0.001559, allocations: 197.2 kB / 16.68 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.323/2.323, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.563/4.563, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 62.73 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3935, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003171/0.3967, allocations: 1.987 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3986, allocations: 1.213 MB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3988, allocations: 4 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.3992, allocations: 155.4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.3996, allocations: 151.4 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.4001, allocations: 229.3 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.4004, allocations: 311.2 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.4006, allocations: 44.38 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.4008, allocations: 147.4 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.401, allocations: 143.5 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.401, allocations: 16 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.4012, allocations: 63.89 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.4013, allocations: 79.75 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.4014, allocations: 131.1 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.4018, allocations: 362.4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4018, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4018, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.4018, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 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.0009987/0.4028, allocations: 0.6302 MB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4029, allocations: 8.031 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.4029, allocations: 50.61 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.403, allocations: 32.56 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.4035, allocations: 373.8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.4035, allocations: 8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.4036, allocations: 4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.4038, allocations: 117.6 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4038, allocations: 0 / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.4039, allocations: 3.938 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4039, allocations: 7.938 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.4041, allocations: 55.95 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.4048, allocations: 0.4886 MB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.4052, allocations: 138.7 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4053, allocations: 44.83 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.4053, allocations: 8 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.4056, allocations: 115.2 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.674e-06/0.4056, allocations: 4 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005249/0.4061, allocations: 221.3 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.4062, allocations: 55.41 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.4067, allocations: 0.5015 MB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4068, allocations: 33.7 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.4069, allocations: 172.4 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.4069, allocations: 31.55 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.407, allocations: 73.88 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4072, allocations: 350.8 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.4074, allocations: 100.5 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.4076, allocations: 131.6 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.4079, allocations: 184 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4079, allocations: 0 / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005244/0.4084, allocations: 325.1 kB / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4085, allocations: 7.938 kB / 1.096 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4085, allocations: 4 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4085, allocations: 0 / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.4087, allocations: 51.91 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4088, allocations: 4 kB / 1.097 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.4089, allocations: 19.95 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.4089, allocations: 12 kB / 1.097 GB, free: 8.379 MB / 0.8575 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.0001693/0.4091, allocations: 177.8 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.4092, allocations: 35.56 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.4092, allocations: 39.11 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4092, allocations: 3.938 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4093, allocations: 0 / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4093, allocations: 0 / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4095, allocations: 305.3 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4095, allocations: 4 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.4096, allocations: 19.94 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4096, allocations: 3.938 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.4096, allocations: 7.984 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4097, allocations: 4 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4097, allocations: 0 / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.41, allocations: 196.7 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4101, allocations: 120.7 kB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.4102, allocations: 7.984 kB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.4103, allocations: 7.984 kB / 1.097 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.4104, allocations: 15.98 kB / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4104, allocations: 11.98 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003386/0.4107, allocations: 311.1 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4107, allocations: 0 / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003028/0.411, allocations: 63.89 kB / 1.098 GB, free: 6.977 MB / 0.8575 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.001543/0.4126, allocations: 1.065 MB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.413, allocations: 191.8 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.413, allocations: 0 / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.4132, allocations: 60.08 kB / 1.099 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.4137, allocations: 92.08 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.4173, allocations: 3.101 MB / 1.102 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.4177, allocations: 0.7909 MB / 1.103 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.4178, allocations: 54.95 kB / 1.103 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.418, allocations: 107.4 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.418, allocations: 0 / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2431/0.6611, allocations: 7.156 MB / 1.11 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.85, allocations: 4 kB / 1.11 GB, free: 10.48 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches