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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009/0.009, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002203/0.002203, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.89 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3395, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003957/0.3435, allocations: 1.99 MB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002223/0.3458, allocations: 1.197 MB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.346, allocations: 7.938 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.3465, allocations: 151.5 kB / 1.211 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004464/0.347, allocations: 151.4 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.3477, allocations: 224.2 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.3482, allocations: 315.2 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.3484, allocations: 56.36 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3486, allocations: 139.5 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.3489, allocations: 151.4 kB / 1.212 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.3489, allocations: 20 kB / 1.212 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.3491, allocations: 55.97 kB / 1.212 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3493, allocations: 87.67 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.3495, allocations: 127.1 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.3499, allocations: 363 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.35, allocations: 4 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.502e-06/0.35, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.35, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 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.001287/0.3513, allocations: 0.6263 MB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.3513, allocations: 12.62 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.3514, allocations: 38.75 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3515, allocations: 36.47 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007109/0.3523, allocations: 373.8 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3523, allocations: 4 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.3523, allocations: 8 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.3526, allocations: 105.6 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3527, allocations: 0 / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3527, allocations: 4 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.3527, allocations: 8 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.3529, allocations: 63.8 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.354, allocations: 0.4886 MB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.3544, allocations: 142.7 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3545, allocations: 40.84 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.3546, allocations: 15.91 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.3549, allocations: 111.3 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.3549, allocations: 0 / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0006501/0.3555, allocations: 229.2 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3556, allocations: 55.41 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.3562, allocations: 0.5016 MB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3562, allocations: 29.7 kB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3563, allocations: 168.3 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.3564, allocations: 35.55 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3565, allocations: 65.97 kB / 1.215 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3567, allocations: 350.8 kB / 1.216 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.3569, allocations: 100.5 kB / 1.216 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.3571, allocations: 135.6 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.3574, allocations: 184.2 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3574, allocations: 4 kB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005468/0.358, allocations: 321.1 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.358, allocations: 7.938 kB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.358, allocations: 4 kB / 1.216 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3581, allocations: 0 / 1.216 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.3583, allocations: 55.91 kB / 1.216 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.3583, allocations: 4 kB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.3585, allocations: 15.92 kB / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3586, allocations: 8 kB / 1.216 GB, free: 0.5898 MB / 0.9669 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.0002508/0.3588, allocations: 185.8 kB / 1.217 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.3589, allocations: 43.47 kB / 1.217 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.851e-05/0.359, allocations: 39.12 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.359, allocations: 0 / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.359, allocations: 3.938 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.359, allocations: 0 / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.3595, allocations: 301.5 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.3595, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3596, allocations: 15.98 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/0.3596, allocations: 7.938 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3596, allocations: 0 / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3597, allocations: 4 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3597, allocations: 3.938 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.3601, allocations: 215 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3602, allocations: 112.7 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.3603, allocations: 8 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3604, allocations: 11.98 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.3605, allocations: 11.98 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.3605, allocations: 15.98 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003518/0.3609, allocations: 311.1 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3609, allocations: 0 / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002986/0.3612, allocations: 51.98 kB / 1.218 GB, free: 15.18 MB / 0.9825 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.001637/0.3628, allocations: 1.075 MB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.3633, allocations: 190.2 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3633, allocations: 4 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.3635, allocations: 67.89 kB / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.364, allocations: 92.77 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.3678, allocations: 3.111 MB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3682, allocations: 0.7869 MB / 1.223 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000167/0.3684, allocations: 54.95 kB / 1.223 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3686, allocations: 107.4 kB / 1.223 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3686, allocations: 0 / 1.223 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.3956, allocations: 7.153 MB / 1.23 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.446, allocations: 4 kB / 1.23 GB, free: 2.719 MB / 0.9825 GB (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 --timeout=50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches