Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001746/0.001747, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7856, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003191/0.7888, allocations: 2.038 MB / 0.9509 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.7907, allocations: 1.187 MB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.7909, allocations: 5.375 kB / 0.9521 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.7914, allocations: 150.5 kB / 0.9522 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.7917, allocations: 146.3 kB / 0.9524 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.7923, allocations: 192.6 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.7926, allocations: 295 kB / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.7928, allocations: 50.05 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.793, allocations: 124.3 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.7932, allocations: 148.8 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.7932, allocations: 6.656 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.7933, allocations: 51.8 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.7935, allocations: 78.64 kB / 0.9533 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.7936, allocations: 121.2 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.7939, allocations: 351.9 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7939, allocations: 1.344 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7939, allocations: 0 / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.794, allocations: 4 kB / 0.9537 GB, free: 5.602 MB / 0.7169 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.0009873/0.795, allocations: 0.6184 MB / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.795, allocations: 12.7 kB / 0.9543 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.7951, allocations: 39.78 kB / 0.9544 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.7956, allocations: 371.4 kB / 0.9547 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.7956, allocations: 8.109 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.7957, allocations: 9.438 kB / 0.9548 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.7959, allocations: 111.6 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.7959, allocations: 1.156 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.796, allocations: 4 kB / 0.9549 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.796, allocations: 2.312 kB / 0.9549 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.7962, allocations: 58.77 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.797, allocations: 0.4887 MB / 0.9554 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.7973, allocations: 136.6 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.7974, allocations: 48.02 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.7975, allocations: 2.062 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.7977, allocations: 119.8 kB / 0.9557 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.7977, allocations: 3.938 kB / 0.9557 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005128/0.7982, allocations: 225.1 kB / 0.9559 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.7983, allocations: 53.47 kB / 0.956 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.7988, allocations: 0.5105 MB / 0.9565 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.7988, allocations: 31.08 kB / 0.9565 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.7989, allocations: 166.3 kB / 0.9567 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.799, allocations: 37.05 kB / 0.9567 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.7991, allocations: 73.39 kB / 0.9568 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.7992, allocations: 345.8 kB / 0.9571 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.7994, allocations: 100.9 kB / 0.9572 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.7996, allocations: 135.1 kB / 0.9573 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.7999, allocations: 184.1 kB / 0.9575 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8, allocations: 0.875 kB / 0.9575 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000564/0.8005, allocations: 320.4 kB / 0.9578 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8006, allocations: 9.453 kB / 0.9578 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8006, allocations: 9.047 kB / 0.9578 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.8006, allocations: 1.094 kB / 0.9578 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.8008, allocations: 59.47 kB / 0.9579 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8009, allocations: 1.938 kB / 0.9579 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.801, allocations: 18.16 kB / 0.9579 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.8011, allocations: 12.55 kB / 0.9579 GB, free: 2.41 MB / 0.7169 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.0001899/0.8012, allocations: 178.5 kB / 0.9581 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.8013, allocations: 30.81 kB / 0.9581 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.027e-05/0.8014, allocations: 40.84 kB / 0.9581 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.8014, allocations: 2.25 kB / 0.9581 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8014, allocations: 4 kB / 0.9581 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.8014, allocations: 0 / 0.9581 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.8017, allocations: 297.1 kB / 0.9584 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.8017, allocations: 4 kB / 0.9584 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.8018, allocations: 17.89 kB / 0.9585 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.8018, allocations: 1.062 kB / 0.9585 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.8018, allocations: 10.25 kB / 0.9585 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8018, allocations: 1.156 kB / 0.9585 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8018, allocations: 0 / 0.9585 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.8022, allocations: 213.6 kB / 0.9587 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.8023, allocations: 110.5 kB / 0.9588 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.8023, allocations: 14.23 kB / 0.9588 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.8024, allocations: 3.125 kB / 0.9588 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.8025, allocations: 18.56 kB / 0.9588 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.8025, allocations: 13.66 kB / 0.9588 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004226/0.803, allocations: 315.5 kB / 0.9591 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.422e-06/0.803, allocations: 0 / 0.9591 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003286/0.8033, allocations: 59.81 kB / 0.9592 GB, free: 1.426 MB / 0.7169 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.00101/0.8043, allocations: 416.7 kB / 0.9596 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.8048, allocations: 188.4 kB / 0.9598 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8048, allocations: 1 kB / 0.9598 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.8049, allocations: 62.62 kB / 0.9598 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.8054, allocations: 92.06 kB / 0.9599 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.8063, allocations: 0.6 MB / 0.9605 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.8066, allocations: 0.7892 MB / 0.9613 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.8067, allocations: 51.73 kB / 0.9613 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.653e-05/0.8068, allocations: 34.89 kB / 0.9613 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.8068, allocations: 0 / 0.9613 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.008693/0.8155, allocations: 3.878 MB / 0.9651 GB, free: 13.99 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches