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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008866/0.0008867, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005502/0.005502, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003185, allocations: 10.41 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3471, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002208/0.3493, allocations: 1.717 MB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3512, allocations: 1.154 MB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.3514, allocations: 7.938 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.3517, allocations: 151.6 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.3521, allocations: 135.5 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.3526, allocations: 202.7 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.353, allocations: 291.2 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.3531, allocations: 48.36 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.3533, allocations: 119.4 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.3535, allocations: 147.4 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.3536, allocations: 8 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3537, allocations: 43.97 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.3538, allocations: 87.61 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3539, allocations: 136.9 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.3543, allocations: 347 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3543, allocations: 0 / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3543, allocations: 3.938 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3543, allocations: 3.938 kB / 1.063 GB, free: 316 kB / 0.8106 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.0008086/0.3551, allocations: 0.5643 MB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3552, allocations: 19.95 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.3552, allocations: 34.75 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.294e-05/0.3553, allocations: 36.5 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.3558, allocations: 381.9 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3558, allocations: 4 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3558, allocations: 12 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.3561, allocations: 107.2 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.3561, allocations: 0 / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3561, allocations: 8 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3561, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3563, allocations: 59.95 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.357, allocations: 0.4925 MB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.3573, allocations: 134.7 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3574, allocations: 44.83 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3574, allocations: 4 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.3577, allocations: 122.1 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.624e-06/0.3577, allocations: 0 / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004834/0.3582, allocations: 225.3 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3582, allocations: 55.41 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.3588, allocations: 0.5015 MB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3588, allocations: 37.69 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3589, allocations: 164.4 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.3589, allocations: 35.55 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.359, allocations: 37.7 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3591, allocations: 346.8 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.3593, allocations: 100.5 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.3595, allocations: 127.6 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.3598, allocations: 188 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3598, allocations: 0 / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005068/0.3604, allocations: 329.1 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3604, allocations: 7.938 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3604, allocations: 0 / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3604, allocations: 7.938 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.3606, allocations: 51.91 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3606, allocations: 4.062 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.3608, allocations: 23.83 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.3608, allocations: 12 kB / 1.067 GB, free: 11.83 MB / 0.8262 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.0001881/0.361, allocations: 177.8 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.3611, allocations: 35.56 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.3611, allocations: 39.11 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3611, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3612, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3612, allocations: 8 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.3614, allocations: 309.3 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3614, allocations: 3.984 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.3615, allocations: 12 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3615, allocations: 3.938 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3615, allocations: 3.984 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3615, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3615, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.3619, allocations: 212.6 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.362, allocations: 112.7 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.362, allocations: 15.92 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.3621, allocations: 4 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.3622, allocations: 19.97 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3622, allocations: 4 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003143/0.3625, allocations: 315.1 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3625, allocations: 0 / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002859/0.3628, allocations: 59.91 kB / 1.069 GB, free: 10.43 MB / 0.8262 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.001438/0.3643, allocations: 1.065 MB / 1.07 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.3647, allocations: 197 kB / 1.07 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3647, allocations: 0 / 1.07 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3648, allocations: 63.91 kB / 1.07 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.3653, allocations: 75.2 kB / 1.07 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.3692, allocations: 3.181 MB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.3696, allocations: 0.7909 MB / 1.074 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.3698, allocations: 50.95 kB / 1.074 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.3701, allocations: 103.4 kB / 1.074 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3701, allocations: 0 / 1.074 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/0.4333, allocations: 6.523 MB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.4336, allocations: 255.2 kB / 1.081 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.355, allocations: 0 / 1.081 GB, free: 14.32 MB / 0.8419 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