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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 103.4 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 489.7 MB / 0.7761 GB, free: 33.55 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=507,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=507,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 69.83 kB / 1.127 GB, free: 36.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3006, allocations: 172.1 MB / 1.295 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00327/0.3039, allocations: 2.01 MB / 1.297 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3058, allocations: 1.212 MB / 1.298 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3059, allocations: 3.938 kB / 1.298 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.3063, allocations: 155.5 kB / 1.298 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.3067, allocations: 155.4 kB / 1.298 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.3071, allocations: 226.7 kB / 1.299 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.3075, allocations: 315.2 kB / 1.299 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3077, allocations: 40.31 kB / 1.299 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.3079, allocations: 151.4 kB / 1.299 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.3081, allocations: 167.3 kB / 1.299 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.3081, allocations: 16 kB / 1.299 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3082, allocations: 55.97 kB / 1.299 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3084, allocations: 91.67 kB / 1.299 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3085, allocations: 127.1 kB / 1.299 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.3089, allocations: 358.4 kB / 1.3 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3089, allocations: 4 kB / 1.3 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3089, allocations: 0 / 1.3 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3089, allocations: 0 / 1.3 GB, free: 6.645 MB / 0.9981 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.0009694/0.3099, allocations: 0.6416 MB / 1.3 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3099, allocations: 8.031 kB / 1.3 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.31, allocations: 36.7 kB / 1.3 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.3105, allocations: 374.3 kB / 1.301 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3105, allocations: 4 kB / 1.301 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3106, allocations: 8 kB / 1.301 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.3108, allocations: 105.6 kB / 1.301 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3108, allocations: 4 kB / 1.301 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.3108, allocations: 4 kB / 1.301 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3108, allocations: 4 kB / 1.301 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.311, allocations: 59.97 kB / 1.301 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/0.3118, allocations: 0.4886 MB / 1.301 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.3121, allocations: 142.6 kB / 1.302 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3123, allocations: 44.83 kB / 1.302 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.3123, allocations: 4 kB / 1.302 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.3125, allocations: 107.3 kB / 1.302 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 3.456e-06/0.3125, allocations: 4 kB / 1.302 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005355/0.313, allocations: 233.2 kB / 1.302 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3131, allocations: 55.39 kB / 1.302 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.3137, allocations: 0.5093 MB / 1.303 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.3137, allocations: 29.7 kB / 1.303 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3138, allocations: 168.5 kB / 1.303 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.3139, allocations: 35.73 kB / 1.303 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.314, allocations: 69.92 kB / 1.303 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3141, allocations: 354.8 kB / 1.303 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.3143, allocations: 100.5 kB / 1.303 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.3146, allocations: 132.1 kB / 1.303 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.3149, allocations: 182.5 kB / 1.304 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3149, allocations: 4 kB / 1.304 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005412/0.3154, allocations: 329.8 kB / 1.304 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3154, allocations: 7.938 kB / 1.304 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3155, allocations: 0 / 1.304 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3155, allocations: 4 kB / 1.304 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.3157, allocations: 51.91 kB / 1.304 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3157, allocations: 3.938 kB / 1.304 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.3158, allocations: 19.89 kB / 1.304 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.3159, allocations: 20.05 kB / 1.304 GB, free: 2.105 MB / 0.9981 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.0001715/0.316, allocations: 177.7 kB / 1.304 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.3161, allocations: 39.75 kB / 1.304 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.3165, allocations: 196.7 kB / 1.304 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.3165, allocations: 0 / 1.304 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3165, allocations: 0 / 1.304 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3165, allocations: 0 / 1.304 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.3168, allocations: 305.4 kB / 1.305 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3168, allocations: 0 / 1.305 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.3169, allocations: 15.94 kB / 1.305 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3169, allocations: 3.938 kB / 1.305 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3169, allocations: 7.984 kB / 1.305 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3169, allocations: 4 kB / 1.305 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3169, allocations: 0 / 1.305 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.3173, allocations: 203.7 kB / 1.305 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3174, allocations: 128.8 kB / 1.305 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.3174, allocations: 7.938 kB / 1.305 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.3175, allocations: 7.984 kB / 1.305 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.3176, allocations: 15.98 kB / 1.305 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3176, allocations: 11.98 kB / 1.305 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003363/0.3179, allocations: 311.1 kB / 1.305 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3179, allocations: 0 / 1.305 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000282/0.3182, allocations: 55.92 kB / 1.305 GB, free: 0.5508 MB / 0.9981 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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.001493/0.3197, allocations: 424.6 kB / 1.306 GB, free: 292 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.3201, allocations: 179.8 kB / 1.306 GB, free: 112 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3201, allocations: 0 / 1.306 GB, free: 112 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.3203, allocations: 55.91 kB / 1.306 GB, free: 56 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.3207, allocations: 96.19 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.3216, allocations: 0.5905 MB / 1.307 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.322, allocations: 0.7792 MB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.3221, allocations: 35.42 kB / 1.308 GB, free: 14.5 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3221, allocations: 0 / 1.308 GB, free: 14.5 MB / 1.014 GB Notification: Performance of Templates: time 0.006905/0.329, allocations: 4.423 MB / 1.312 GB, free: 10.09 MB / 1.014 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches