Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001407/0.001413, allocations: 108 kB / 15.61 MB, free: 152 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.001947/0.001947, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.517/1.517, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437 MB / 0.7103 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9322/0.9337, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004084/0.9378, allocations: 2.001 MB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.9399, allocations: 1.201 MB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.9401, allocations: 7.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.9406, allocations: 163.5 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.941, allocations: 151.4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.9416, allocations: 223.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.9419, allocations: 315.2 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.9421, allocations: 52.38 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.9423, allocations: 139.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.9425, allocations: 151.4 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.9426, allocations: 16 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.9427, allocations: 51.97 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.9428, allocations: 87.73 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.943, allocations: 131.1 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.9434, allocations: 360.5 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9434, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9434, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.9434, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 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.9444, allocations: 0.6242 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.9445, allocations: 8.031 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.9446, allocations: 40.45 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.9451, allocations: 366.3 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.9451, allocations: 11.98 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.9451, allocations: 12 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.9454, allocations: 105.5 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.9454, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.9454, allocations: 8 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.9454, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.9456, allocations: 59.95 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.9465, allocations: 0.4887 MB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.9468, allocations: 138.7 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.947, allocations: 52.77 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.947, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.9473, allocations: 115.3 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.9473, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0006092/0.9479, allocations: 225.2 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.9479, allocations: 55.41 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/0.9486, allocations: 0.5131 MB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.9486, allocations: 25.7 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.9488, allocations: 164.4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.9489, allocations: 43.48 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.949, allocations: 69.95 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.9492, allocations: 342.8 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.9495, allocations: 104.5 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.9497, allocations: 139.5 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.95, allocations: 176 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.95, allocations: 0 / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005486/0.9506, allocations: 329.1 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.9506, allocations: 4 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9506, allocations: 7.922 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.9507, allocations: 4 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.9509, allocations: 51.91 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.9509, allocations: 4 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.951, allocations: 15.84 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.9511, allocations: 11.98 kB / 1.026 GB, free: 8.988 MB / 0.7794 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.0001826/0.9513, allocations: 197.8 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.9513, allocations: 27.62 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.9514, allocations: 43.06 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9514, allocations: 0 / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.9514, allocations: 4 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9514, allocations: 0 / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.9517, allocations: 297.4 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9517, allocations: 0 / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.9518, allocations: 19.92 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9518, allocations: 0 / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.9518, allocations: 7.938 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9518, allocations: 4 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9518, allocations: 0 / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.9522, allocations: 204.7 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.9523, allocations: 116.7 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.9524, allocations: 11.92 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/0.9524, allocations: 4 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.9525, allocations: 27.91 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.9526, allocations: 11.94 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004051/0.953, allocations: 315.1 kB / 1.028 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.953, allocations: 0 / 1.028 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002876/0.9533, allocations: 48 kB / 1.028 GB, free: 7.586 MB / 0.7794 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.001075/0.9543, allocations: 422.3 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.9548, allocations: 199.8 kB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9548, allocations: 0 / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.955, allocations: 59.91 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.9555, allocations: 95.22 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009132/0.9564, allocations: 0.5359 MB / 1.029 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.9568, allocations: 0.787 MB / 1.03 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.9569, allocations: 54.94 kB / 1.03 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.957, allocations: 31.42 kB / 1.03 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of SimCode: time 5.1e-07/0.957, allocations: 7.938 kB / 1.03 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of Templates: time 0.008224/0.9652, allocations: 4.048 MB / 1.034 GB, free: 1.516 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches