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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001254/0.001254, allocations: 195.5 kB / 16.14 MB, free: 6.645 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 64.8 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2743, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002746/0.277, allocations: 2.06 MB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2786, allocations: 1.181 MB / 1.055 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.2787, allocations: 4 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.279, allocations: 143.6 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.2793, allocations: 147.5 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.2796, allocations: 198.7 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.2799, allocations: 291.2 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.28, allocations: 48.38 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.2802, allocations: 135.3 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.2803, allocations: 135.4 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.2804, allocations: 11.98 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2805, allocations: 51.91 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.2806, allocations: 83.72 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.2807, allocations: 115.2 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.281, allocations: 359 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.281, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.21e-07/0.281, allocations: 4 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.281, allocations: 0 / 1.057 GB, free: 3.227 MB / 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.0007596/0.2818, allocations: 0.6185 MB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2818, allocations: 11.97 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.2819, allocations: 38.75 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.2819, allocations: 32.56 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.2823, allocations: 377.9 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2824, allocations: 11.94 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2824, allocations: 8 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.2826, allocations: 110.9 kB / 1.058 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2826, allocations: 0 / 1.058 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2826, allocations: 0 / 1.058 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2826, allocations: 7.984 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.2828, allocations: 63.95 kB / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.2835, allocations: 0.4924 MB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.2838, allocations: 134.7 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.2839, allocations: 48.84 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2839, allocations: 4 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.2841, allocations: 111.3 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.2841, allocations: 0 / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004688/0.2846, allocations: 231.8 kB / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2847, allocations: 55.41 kB / 1.059 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.2851, allocations: 0.5093 MB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.2852, allocations: 33.7 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2853, allocations: 164.5 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.2853, allocations: 35.5 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2854, allocations: 73.88 kB / 1.06 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2855, allocations: 342.8 kB / 1.06 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2857, allocations: 100.5 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.2859, allocations: 131.6 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.2862, allocations: 184 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2862, allocations: 3.984 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004892/0.2867, allocations: 321.2 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2868, allocations: 7.938 kB / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2868, allocations: 0 / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2868, allocations: 8.062 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.287, allocations: 47.91 kB / 1.061 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.287, allocations: 4 kB / 1.061 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.2871, allocations: 23.83 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.2872, allocations: 12 kB / 1.061 GB, free: 14.67 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.0001525/0.2873, allocations: 181.8 kB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.2874, allocations: 35.55 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.2875, allocations: 35.12 kB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2875, allocations: 4 kB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2875, allocations: 4 kB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2875, allocations: 0 / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.2877, allocations: 309.3 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2877, allocations: 0 / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.2878, allocations: 15.94 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2878, allocations: 3.938 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2878, allocations: 7.984 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2878, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2878, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.2882, allocations: 212.6 kB / 1.062 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.2883, allocations: 112.7 kB / 1.062 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.2883, allocations: 3.938 kB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.2884, allocations: 11.98 kB / 1.062 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.2885, allocations: 15.98 kB / 1.062 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2885, allocations: 7.984 kB / 1.062 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002932/0.2888, allocations: 315.1 kB / 1.062 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.2888, allocations: 4 kB / 1.062 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002684/0.2891, allocations: 55.91 kB / 1.063 GB, free: 13.27 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.001374/0.2904, allocations: 1.069 MB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.2908, allocations: 191.8 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2908, allocations: 0 / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.291, allocations: 73.2 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2914, allocations: 70.25 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.295, allocations: 3.174 MB / 1.067 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.2953, allocations: 0.7831 MB / 1.068 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.2955, allocations: 58.94 kB / 1.068 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.2956, allocations: 107.4 kB / 1.068 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.2957, allocations: 0 / 1.068 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1557/0.4514, allocations: 6.753 MB / 1.074 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.4516, allocations: 252 kB / 1.075 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.208, allocations: 4 kB / 1.075 GB, free: 0.918 MB / 0.8262 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