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.001013/0.001013, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.000989/0.000989, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.541/1.541, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 62.45 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.31, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00354/0.3135, allocations: 2.072 MB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3156, allocations: 1.177 MB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.3159, allocations: 7.938 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.3163, allocations: 139.6 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.3168, allocations: 143.5 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.3174, allocations: 206.7 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.3178, allocations: 315.2 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.3179, allocations: 44.38 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.3182, allocations: 143.4 kB / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.3184, allocations: 155.4 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.3184, allocations: 20 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3186, allocations: 63.95 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.3187, allocations: 87.69 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.3188, allocations: 123.1 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.3192, allocations: 363 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3192, allocations: 0 / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3192, allocations: 0 / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.3192, allocations: 0 / 1.057 GB, free: 3.59 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.0009859/0.3202, allocations: 0.6223 MB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3203, allocations: 12.62 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.3203, allocations: 42.73 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.3204, allocations: 36.56 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.3209, allocations: 381.9 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3209, allocations: 8 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.321, allocations: 8 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.3212, allocations: 101.6 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3212, allocations: 3.984 kB / 1.059 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3212, allocations: 0 / 1.059 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3213, allocations: 8 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.3214, allocations: 61.84 kB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/0.3222, allocations: 0.4885 MB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.3225, allocations: 134.8 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3227, allocations: 56.77 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3227, allocations: 0 / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.3229, allocations: 107.3 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.3229, allocations: 4 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005068/0.3234, allocations: 224.5 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3235, allocations: 63.33 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.324, allocations: 0.5053 MB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.324, allocations: 29.7 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3241, allocations: 168.4 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.3242, allocations: 35.55 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.3243, allocations: 77.88 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3244, allocations: 342.8 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.3246, allocations: 100.5 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3248, allocations: 131.6 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.3251, allocations: 187 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3251, allocations: 0 / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004906/0.3256, allocations: 321.2 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3257, allocations: 7.938 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3257, allocations: 0 / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3257, allocations: 4 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.3259, allocations: 47.91 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.3259, allocations: 4 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.326, allocations: 19.91 kB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.3261, allocations: 15.98 kB / 1.062 GB, free: 15.04 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.0001566/0.3263, allocations: 181.8 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.3263, allocations: 35.5 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.3264, allocations: 35.12 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3264, allocations: 3.984 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3264, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3264, allocations: 3.984 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.3266, allocations: 301.3 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3267, allocations: 8 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.3267, allocations: 15.98 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3267, allocations: 3.938 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3268, allocations: 7.938 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3268, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3268, allocations: 3.984 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.3271, allocations: 204.6 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.3272, allocations: 116.7 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.3272, allocations: 7.938 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.3273, allocations: 11.98 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.3274, allocations: 15.98 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3274, allocations: 4 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003033/0.3277, allocations: 315.1 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3277, allocations: 0 / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002785/0.328, allocations: 55.91 kB / 1.063 GB, free: 13.63 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.001456/0.3295, allocations: 1.066 MB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003902/0.3299, allocations: 195 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3299, allocations: 0 / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.33, allocations: 64.03 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.3305, allocations: 93.17 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.3341, allocations: 3.179 MB / 1.067 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.3344, allocations: 0.787 MB / 1.068 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.3346, allocations: 54.92 kB / 1.068 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3348, allocations: 111.4 kB / 1.068 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3348, allocations: 0 / 1.068 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4967/0.8314, allocations: 6.922 MB / 1.075 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.8317, allocations: 261.2 kB / 1.075 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.326, allocations: 0 / 1.075 GB, free: 1.098 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