Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_11_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.0047/0.0047, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001334/0.001334, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.618/2.618, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 67.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2547, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002844/0.2576, allocations: 1.999 MB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.2593, allocations: 1.196 MB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.2594, allocations: 7.938 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.2597, allocations: 163.4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.26, allocations: 151.4 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.2605, allocations: 223.3 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.2608, allocations: 311.2 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.261, allocations: 52.36 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.2611, allocations: 143.4 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.2613, allocations: 151.4 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.2614, allocations: 16 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2615, allocations: 51.98 kB / 1.225 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.2616, allocations: 91.66 kB / 1.225 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.2617, allocations: 131.1 kB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.2621, allocations: 370.4 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2621, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2621, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2621, allocations: 3.938 kB / 1.225 GB, free: 9.266 MB / 0.9825 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.0008174/0.263, allocations: 0.6339 MB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.263, allocations: 8.031 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.263, allocations: 38.75 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.2631, allocations: 36.7 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.2636, allocations: 390 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2636, allocations: 4 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.2636, allocations: 8 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.2638, allocations: 107.6 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2638, allocations: 0 / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2639, allocations: 4 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2639, allocations: 4 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.264, allocations: 59.95 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.2647, allocations: 0.4887 MB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.265, allocations: 138.7 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2652, allocations: 48.84 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2652, allocations: 3.984 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.2654, allocations: 115.2 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.2654, allocations: 0 / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0004787/0.2659, allocations: 225.3 kB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.2659, allocations: 55.41 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.2665, allocations: 0.5093 MB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.2665, allocations: 33.7 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.2666, allocations: 156.5 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.2667, allocations: 47.67 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-05/0.2668, allocations: 61.97 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2669, allocations: 350.8 kB / 1.228 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.2671, allocations: 96.52 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.2673, allocations: 139.6 kB / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.2676, allocations: 191.5 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2677, allocations: 4 kB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005082/0.2682, allocations: 313.3 kB / 1.229 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2682, allocations: 11.94 kB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2682, allocations: 4.062 kB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2682, allocations: 0 / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.2684, allocations: 59.91 kB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2684, allocations: 4 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.2686, allocations: 19.88 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.2686, allocations: 8 kB / 1.229 GB, free: 4.695 MB / 0.9825 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.000166/0.2688, allocations: 189.6 kB / 1.229 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.2688, allocations: 39.7 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.2689, allocations: 47.11 kB / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2689, allocations: 0 / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2689, allocations: 0 / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2689, allocations: 3.938 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2692, allocations: 297.4 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2692, allocations: 0 / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.2693, allocations: 12 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2693, allocations: 7.922 kB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2693, allocations: 4 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2693, allocations: 4 kB / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2693, allocations: 0 / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.2697, allocations: 220.4 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.2697, allocations: 108.9 kB / 1.23 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.2698, allocations: 8 kB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.2699, allocations: 7.984 kB / 1.23 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.27, allocations: 15.98 kB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.27, allocations: 11.98 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003231/0.2703, allocations: 315.1 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2703, allocations: 0 / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002573/0.2706, allocations: 63.88 kB / 1.231 GB, free: 3.277 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.001924/0.2725, allocations: 1.069 MB / 1.232 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.2729, allocations: 195.8 kB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2729, allocations: 0 / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.2731, allocations: 59.91 kB / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.2735, allocations: 94.2 kB / 1.232 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.277, allocations: 3.126 MB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.2774, allocations: 0.787 MB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.2775, allocations: 54.94 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.2777, allocations: 107.4 kB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.2777, allocations: 0 / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.143/4.421, allocations: 7.152 MB / 1.243 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/19.44, allocations: 0.8906 kB / 1.243 GB, free: 6.812 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches