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.005277/0.005277, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001113/0.001113, allocations: 190 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.608/2.608, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.284, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003303/0.2874, allocations: 1.999 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.2894, allocations: 1.201 MB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.2896, allocations: 4 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.2901, allocations: 159.4 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.2905, allocations: 155.4 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.2911, allocations: 227.3 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.2915, allocations: 323.1 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2916, allocations: 48.38 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.2918, allocations: 151.4 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.292, allocations: 139.5 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.2921, allocations: 16 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.2922, allocations: 63.89 kB / 1.171 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2923, allocations: 83.69 kB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.2925, allocations: 127.1 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.2929, allocations: 366.5 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2929, allocations: 4 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2929, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.2929, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 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.0009227/0.2938, allocations: 0.6224 MB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2939, allocations: 11.97 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.2939, allocations: 42.73 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.294, allocations: 32.56 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.2945, allocations: 373.8 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2945, allocations: 12 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.2946, allocations: 8 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.2948, allocations: 109.5 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2948, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2949, allocations: 4 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2949, allocations: 8 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.295, allocations: 59.91 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.2958, allocations: 0.4925 MB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.2962, allocations: 134.7 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.2964, allocations: 48.83 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.2964, allocations: 0 / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.2967, allocations: 122.8 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2967, allocations: 0 / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0005346/0.2972, allocations: 221.4 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2973, allocations: 55.41 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/0.2978, allocations: 0.5015 MB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2979, allocations: 29.7 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.298, allocations: 176.4 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.298, allocations: 43.48 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.2982, allocations: 65.88 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2983, allocations: 350.8 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2985, allocations: 96.52 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.2987, allocations: 139.5 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.299, allocations: 180 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2991, allocations: 4 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005371/0.2996, allocations: 317.2 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2996, allocations: 11.94 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2996, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2997, allocations: 3.984 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.2999, allocations: 59.97 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2999, allocations: 4 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.3001, allocations: 15.89 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.3001, allocations: 8 kB / 1.175 GB, free: 13.7 MB / 0.9356 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.0001799/0.3003, allocations: 181.7 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.3004, allocations: 39.47 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.036e-05/0.3004, allocations: 39.12 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3004, allocations: 0 / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3004, allocations: 4 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3005, allocations: 3.984 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3007, allocations: 297.4 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3007, allocations: 0 / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.3008, allocations: 19.92 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3008, allocations: 3.938 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3009, allocations: 3.984 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3009, allocations: 8 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3009, allocations: 3.938 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.3013, allocations: 204.7 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.3014, allocations: 120.6 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.3014, allocations: 8 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.821e-05/0.3015, allocations: 7.984 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.3016, allocations: 19.92 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.3016, allocations: 8 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004034/0.302, allocations: 315.1 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.302, allocations: 0 / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003119/0.3024, allocations: 52 kB / 1.177 GB, free: 12.3 MB / 0.9356 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.001537/0.3039, allocations: 1.062 MB / 1.178 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.3044, allocations: 203.8 kB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3044, allocations: 0 / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3045, allocations: 63.59 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.305, allocations: 88.91 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.3088, allocations: 3.113 MB / 1.181 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3092, allocations: 0.7831 MB / 1.182 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.3094, allocations: 54.94 kB / 1.182 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.3096, allocations: 107.4 kB / 1.182 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of SimCode: time 9.72e-07/0.3096, allocations: 3.938 kB / 1.182 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.3342, allocations: 7.152 MB / 1.189 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.633, allocations: 9.156 kB / 1.189 GB, free: 15.84 MB / 0.9512 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) "" Variables in the reference:time,product.u1,product.u2,product.y Variables in the result:product.u1,product.u2,product.y,reaToInt1.u,reaToInt1.y,reaToInt2.u,reaToInt2.y,timTabLin.extrapolation,timTabLin.offset[1],timTabLin.smoothness,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeScale,timTabLin1.y[1],time