Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001373/0.001373, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.555/2.555, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 73.58 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2989, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.002055/0.301, allocations: 0.6893 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3021, allocations: 0.804 MB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.3022, allocations: 4 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.3022, allocations: 3.938 kB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.3023, allocations: 7.922 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.871e-05/0.3024, allocations: 11.98 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.3025, allocations: 43.86 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3026, allocations: 12 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.3027, allocations: 15.92 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.3027, allocations: 31.84 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.3027, allocations: 4 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.3028, allocations: 4 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.3028, allocations: 7.984 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.3028, allocations: 15.92 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.485e-05/0.3029, allocations: 39.81 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3029, allocations: 4 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3029, allocations: 0 / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3029, allocations: 0 / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006134/0.3036, allocations: 369.6 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3036, allocations: 8.625 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.3037, allocations: 8.922 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.3038, allocations: 176.2 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3039, allocations: 4.375 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3039, allocations: 384 / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.3042, allocations: 74.22 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3042, allocations: 192 / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3042, allocations: 3.938 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3042, allocations: 4 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.3046, allocations: 63.86 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.305, allocations: 269 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.3052, allocations: 62.47 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.3054, allocations: 32.92 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3054, allocations: 0 / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3054, allocations: 42.5 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.3054, allocations: 0 / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005341/0.306, allocations: 129.5 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.306, allocations: 51.41 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3061, allocations: 113.8 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3061, allocations: 25.7 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.3062, allocations: 88.14 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3062, allocations: 7.812 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.3063, allocations: 21.7 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3064, allocations: 310.8 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.3066, allocations: 35.97 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3067, allocations: 35.89 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.3071, allocations: 69.06 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3071, allocations: 3.938 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003415/0.3075, allocations: 101.6 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3075, allocations: 7.938 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3075, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3075, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3076, allocations: 19.98 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3076, allocations: 0 / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.3077, allocations: 7.984 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3077, allocations: 8 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.357e-05/0.3078, allocations: 117.7 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3079, allocations: 7.906 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.3079, allocations: 7.906 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3079, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3079, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.3079, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.3081, allocations: 169.6 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3081, allocations: 3.984 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.3082, allocations: 23.92 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3082, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3082, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3082, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3082, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.3086, allocations: 199.4 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.3087, allocations: 92.94 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3087, allocations: 0 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3088, allocations: 11.98 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.3089, allocations: 3.938 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.3089, allocations: 4 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.3089, allocations: 87.27 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3089, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002089/0.3092, allocations: 8 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001342/0.3093, allocations: 103.2 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.3097, allocations: 67.92 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3097, allocations: 0 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.3099, allocations: 43.89 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3102, allocations: 7.938 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.3106, allocations: 151.3 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.311, allocations: 0.6845 MB / 1.023 GB, free: 4.617 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.311, allocations: 11.44 kB / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.311, allocations: 4 kB / 1.023 GB, free: 4.602 MB / 0.795 GB Notification: Performance of Templates: time 0.002582/0.3136, allocations: 0.7418 MB / 1.024 GB, free: 3.867 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches