Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001232/0.001232, allocations: 105 kB / 16.41 MB, free: 6.465 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.001178/0.001178, allocations: 187 kB / 17.34 MB, free: 5.719 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.473/2.473, allocations: 469.4 MB / 0.7428 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7521, allocations: 159.1 MB / 1.221 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.001842/0.754, allocations: 0.7059 MB / 1.222 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.7549, allocations: 0.8078 MB / 1.222 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.7549, allocations: 3.938 kB / 1.222 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.755, allocations: 0 / 1.222 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.7551, allocations: 7.875 kB / 1.222 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.092e-05/0.7552, allocations: 15.98 kB / 1.222 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.7552, allocations: 47.91 kB / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.7554, allocations: 8 kB / 1.222 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.7554, allocations: 23.91 kB / 1.223 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.7555, allocations: 15.92 kB / 1.223 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.7555, allocations: 4 kB / 1.223 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.7555, allocations: 4 kB / 1.223 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.7555, allocations: 11.92 kB / 1.223 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.7556, allocations: 15.94 kB / 1.223 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.7557, allocations: 47.8 kB / 1.223 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7557, allocations: 0 / 1.223 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7557, allocations: 3.938 kB / 1.223 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.7557, allocations: 0 / 1.223 GB, free: 0.582 MB / 0.9356 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.0005558/0.7562, allocations: 363.2 kB / 1.223 GB, free: 184 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.7563, allocations: 8.625 kB / 1.223 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.7563, allocations: 4.938 kB / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.7565, allocations: 182.1 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.7565, allocations: 4.375 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.7565, allocations: 384 / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.7568, allocations: 70.22 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.7568, allocations: 192 / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.7568, allocations: 3.938 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.7568, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.7571, allocations: 71.86 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.7574, allocations: 261 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.7576, allocations: 54.48 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.7578, allocations: 40.91 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.7578, allocations: 4 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.7579, allocations: 34.56 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.7579, allocations: 0 / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005399/0.7584, allocations: 129.5 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.7585, allocations: 55.39 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.7586, allocations: 109.8 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.7586, allocations: 25.7 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.7586, allocations: 88.12 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.7587, allocations: 7.844 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.7587, allocations: 17.72 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.7588, allocations: 318.8 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.7589, allocations: 31.97 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.7591, allocations: 31.91 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.7593, allocations: 76.72 kB / 1.225 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7594, allocations: 3.938 kB / 1.225 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002977/0.7597, allocations: 97.53 kB / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.7597, allocations: 4 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7597, allocations: 3.984 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7597, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.7598, allocations: 15.98 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7598, allocations: 7.938 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.7599, allocations: 12.31 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.7599, allocations: 4 kB / 1.225 GB, free: 14.26 MB / 0.9512 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.552e-05/0.76, allocations: 109.8 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.76, allocations: 4 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.7601, allocations: 15.88 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.7601, allocations: 0 / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.7601, allocations: 8 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7601, allocations: 7.938 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.7603, allocations: 169.6 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7603, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.7604, allocations: 11.98 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.7604, allocations: 3.984 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.7604, allocations: 0 / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7604, allocations: 4 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7604, allocations: 0 / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.7608, allocations: 195.3 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.7608, allocations: 77.11 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.7608, allocations: 4 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.7609, allocations: 15.97 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.761, allocations: 4 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.761, allocations: 4 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.7611, allocations: 87.27 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.744e-06/0.7611, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002092/0.7613, allocations: 11.94 kB / 1.225 GB, free: 13.44 MB / 0.9512 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.0001278/0.7614, allocations: 99.25 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.7617, allocations: 67.92 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7617, allocations: 0 / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.7619, allocations: 39.95 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.7622, allocations: 9.656 kB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.7625, allocations: 163 kB / 1.226 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.7627, allocations: 0.6884 MB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.7628, allocations: 11.44 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.7628, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.001844/0.7646, allocations: 0.7462 MB / 1.227 GB, free: 11.56 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches