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.00153/0.00153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.00193, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.458/2.458, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7221, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003592/0.7257, allocations: 1.981 MB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.7278, allocations: 1.193 MB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.7279, allocations: 6.938 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.7284, allocations: 166.4 kB / 0.9529 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.7288, allocations: 152.8 kB / 0.953 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.7294, allocations: 226.3 kB / 0.9532 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.7297, allocations: 315.5 kB / 0.9535 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.7299, allocations: 56.61 kB / 0.9536 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.7301, allocations: 133.3 kB / 0.9537 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.7303, allocations: 144.2 kB / 0.9538 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.7303, allocations: 14.12 kB / 0.9538 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.7305, allocations: 61.28 kB / 0.9539 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.7306, allocations: 96.17 kB / 0.954 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.7307, allocations: 121.1 kB / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.731, allocations: 368.6 kB / 0.9545 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7311, allocations: 0 / 0.9545 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7311, allocations: 0 / 0.9545 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.7311, allocations: 0 / 0.9545 GB, free: 5.551 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.001014/0.7321, allocations: 0.6145 MB / 0.9551 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.7322, allocations: 9.594 kB / 0.9551 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.898e-05/0.7322, allocations: 35.47 kB / 0.9551 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.7328, allocations: 381.2 kB / 0.9555 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.7328, allocations: 7.5 kB / 0.9555 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.7328, allocations: 7.547 kB / 0.9555 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.7331, allocations: 113.7 kB / 0.9556 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7331, allocations: 5.375 kB / 0.9556 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.7331, allocations: 0 / 0.9556 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.7331, allocations: 5.781 kB / 0.9556 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.7333, allocations: 63.64 kB / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.7342, allocations: 499.5 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.7345, allocations: 137.2 kB / 0.9563 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.7346, allocations: 56.16 kB / 0.9563 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.7347, allocations: 5.359 kB / 0.9563 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.7349, allocations: 104.3 kB / 0.9564 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.7349, allocations: 0 / 0.9564 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005725/0.7355, allocations: 232 kB / 0.9567 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.7355, allocations: 56.72 kB / 0.9567 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.7361, allocations: 0.512 MB / 0.9572 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.7361, allocations: 31.7 kB / 0.9572 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.7362, allocations: 159.8 kB / 0.9574 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.7363, allocations: 39.44 kB / 0.9574 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.7364, allocations: 68.72 kB / 0.9575 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.7364, allocations: 345.5 kB / 0.9578 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.7366, allocations: 104.3 kB / 0.9579 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.7369, allocations: 128 kB / 0.958 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.7372, allocations: 189.1 kB / 0.9582 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7372, allocations: 0 / 0.9582 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005234/0.7377, allocations: 332.1 kB / 0.9585 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.7378, allocations: 5.312 kB / 0.9585 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7378, allocations: 3.938 kB / 0.9585 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7378, allocations: 2.188 kB / 0.9585 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.738, allocations: 52.25 kB / 0.9586 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.7381, allocations: 5.078 kB / 0.9586 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.7382, allocations: 21.67 kB / 0.9586 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.7383, allocations: 13.03 kB / 0.9586 GB, free: 2.355 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.0001812/0.7385, allocations: 190.7 kB / 0.9588 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.7385, allocations: 29.78 kB / 0.9588 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.7386, allocations: 37.69 kB / 0.9589 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7386, allocations: 2.156 kB / 0.9589 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7386, allocations: 0 / 0.9589 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7386, allocations: 0 / 0.9589 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.7388, allocations: 300.7 kB / 0.9592 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7388, allocations: 0 / 0.9592 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.7389, allocations: 15.08 kB / 0.9592 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7389, allocations: 4.812 kB / 0.9592 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.739, allocations: 6.062 kB / 0.9592 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.739, allocations: 4 kB / 0.9592 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.739, allocations: 0.9688 kB / 0.9592 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.7393, allocations: 213.6 kB / 0.9594 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.7394, allocations: 113.4 kB / 0.9595 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.7395, allocations: 6.562 kB / 0.9595 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.7396, allocations: 11.89 kB / 0.9595 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.7397, allocations: 22.25 kB / 0.9596 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.7397, allocations: 9.359 kB / 0.9596 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003143/0.74, allocations: 311.7 kB / 0.9599 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.74, allocations: 0 / 0.9599 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003177/0.7403, allocations: 56.92 kB / 0.9599 GB, free: 1.367 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.001017/0.7414, allocations: 419.2 kB / 0.9603 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.7418, allocations: 202.5 kB / 0.9605 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7418, allocations: 1.25 kB / 0.9605 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.742, allocations: 63.03 kB / 0.9606 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.7425, allocations: 90.39 kB / 0.9607 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.7434, allocations: 0.5317 MB / 0.9612 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.7437, allocations: 0.7961 MB / 0.962 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.7438, allocations: 47.05 kB / 0.962 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.7439, allocations: 35.89 kB / 0.962 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.7439, allocations: 4 kB / 0.962 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.01282/0.7567, allocations: 4.065 MB / 0.966 GB, free: 13.89 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