Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008204/0.008204, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001664/0.001664, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.39/2.39, allocations: 390.2 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.89 kB / 0.9509 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.035, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.002274/1.038, allocations: 0.7069 MB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001092/1.039, allocations: 0.8056 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/1.039, allocations: 0 / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/1.039, allocations: 5.719 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.785e-05/1.039, allocations: 5.609 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.861e-05/1.039, allocations: 13.77 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/1.039, allocations: 47.48 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/1.039, allocations: 5.875 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.163e-05/1.039, allocations: 21.64 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/1.039, allocations: 18.33 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/1.039, allocations: 4.188 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/1.039, allocations: 3.219 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/1.039, allocations: 10.97 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/1.039, allocations: 22.64 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/1.04, allocations: 39.5 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.04, allocations: 1.156 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/1.04, allocations: 0 / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.04, allocations: 0 / 1.09 GB, free: 4.34 MB / 0.8575 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.0005453/1.04, allocations: 360.9 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.04, allocations: 9.984 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/1.04, allocations: 7.062 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/1.04, allocations: 174.5 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/1.04, allocations: 5.25 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/1.04, allocations: 1.969 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/1.041, allocations: 69.27 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.041, allocations: 192 / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/1.041, allocations: 7.938 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.041, allocations: 1.125 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/1.041, allocations: 66.56 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/1.041, allocations: 266.7 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/1.042, allocations: 62.45 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/1.042, allocations: 45.64 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/1.042, allocations: 0 / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/1.042, allocations: 32.19 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/1.042, allocations: 5.109 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005523/1.042, allocations: 131.3 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.042, allocations: 57.16 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.043, allocations: 110.8 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/1.043, allocations: 26.41 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/1.043, allocations: 87.59 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/1.043, allocations: 13.67 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/1.043, allocations: 12.47 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/1.043, allocations: 322.9 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/1.043, allocations: 30.23 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/1.043, allocations: 31.52 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/1.043, allocations: 70.09 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.043, allocations: 5.062 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/1.044, allocations: 97.97 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.044, allocations: 4.75 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.044, allocations: 1.188 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.044, allocations: 0 / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/1.044, allocations: 19.75 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.044, allocations: 0.8438 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/1.044, allocations: 10.89 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/1.044, allocations: 1.125 kB / 1.092 GB, free: 2.559 MB / 0.8575 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 7.544e-05/1.044, allocations: 116.8 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/1.044, allocations: 6.172 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/1.044, allocations: 10.34 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/1.044, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.044, allocations: 5.672 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.044, allocations: 0 / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/1.044, allocations: 167.1 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.044, allocations: 0.8125 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/1.044, allocations: 14.39 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.044, allocations: 1.781 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/1.044, allocations: 4.875 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.044, allocations: 3.938 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.044, allocations: 1.062 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/1.045, allocations: 197.7 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/1.045, allocations: 82.59 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/1.045, allocations: 5.547 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/1.045, allocations: 15.77 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/1.045, allocations: 3.094 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/1.045, allocations: 9.406 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.74e-05/1.045, allocations: 87.91 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.045, allocations: 0 / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002174/1.045, allocations: 6.219 kB / 1.092 GB, free: 1.875 MB / 0.8575 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.0001801/1.046, allocations: 99.98 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003734/1.046, allocations: 74.98 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.046, allocations: 0 / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/1.046, allocations: 34.81 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/1.046, allocations: 13.19 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/1.047, allocations: 118.9 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/1.047, allocations: 0.6841 MB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.238e-05/1.047, allocations: 5.594 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/1.047, allocations: 13.78 kB / 1.093 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/1.047, allocations: 0 / 1.093 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of Templates: time 0.003639/1.051, allocations: 0.6764 MB / 1.094 GB, free: 0.8672 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches