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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001474/0.001474, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001475/0.001475, allocations: 189.9 kB / 17.2 MB, free: 5.59 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.672/2.672, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 72.3 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.6956, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.001774/0.6974, allocations: 0.7046 MB / 1.084 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000711/0.6981, allocations: 0.7977 MB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.6982, allocations: 0.875 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.6982, allocations: 4.594 kB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.6983, allocations: 5.328 kB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.203e-05/0.6983, allocations: 10.02 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.032e-05/0.6984, allocations: 50.66 kB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.6985, allocations: 10.52 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.6986, allocations: 13.11 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.6986, allocations: 26.73 kB / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.6986, allocations: 4.094 kB / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.6987, allocations: 3.375 kB / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.6987, allocations: 11.09 kB / 1.085 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.6987, allocations: 22.03 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.307e-05/0.6988, allocations: 38.84 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6988, allocations: 2.219 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6988, allocations: 0 / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6988, allocations: 0 / 1.085 GB, free: 496 kB / 0.8262 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.0004276/0.6992, allocations: 366.2 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.6993, allocations: 10.28 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.6993, allocations: 7.016 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.6995, allocations: 164.8 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.6995, allocations: 5.375 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.6995, allocations: 1.469 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.6997, allocations: 69.25 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.6997, allocations: 4.188 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.6998, allocations: 8.438 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6998, allocations: 0.7188 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.7001, allocations: 62.47 kB / 1.085 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.7004, allocations: 271.4 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.7006, allocations: 58.41 kB / 1.086 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.7008, allocations: 41.08 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.7008, allocations: 2.156 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.7009, allocations: 39.22 kB / 1.086 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.7009, allocations: 0 / 1.086 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005192/0.7014, allocations: 128.4 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.7014, allocations: 51.41 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.7015, allocations: 112.5 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.7016, allocations: 29.7 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.7016, allocations: 91.56 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.7016, allocations: 9.688 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.7017, allocations: 16.59 kB / 1.086 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7018, allocations: 315.6 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.702, allocations: 29.66 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.7021, allocations: 34.64 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.7024, allocations: 66.12 kB / 1.087 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7024, allocations: 9.641 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003222/0.7028, allocations: 100.9 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.7028, allocations: 6.562 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7028, allocations: 0.8438 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7028, allocations: 0 / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.7029, allocations: 15.67 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.7029, allocations: 0 / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-05/0.703, allocations: 16.06 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.703, allocations: 0.7969 kB / 1.087 GB, free: 14.7 MB / 0.8419 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.74e-05/0.7031, allocations: 117.6 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.7032, allocations: 7.047 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.7032, allocations: 8.234 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7032, allocations: 1.781 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.7032, allocations: 0.625 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7032, allocations: 5.141 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.7034, allocations: 169.3 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7034, allocations: 1.484 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.466e-05/0.7035, allocations: 15.45 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7035, allocations: 8.5 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.7035, allocations: 0.625 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7035, allocations: 0 / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7035, allocations: 1.281 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.7039, allocations: 205.3 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.704, allocations: 84.31 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.704, allocations: 0.5625 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.7041, allocations: 11.52 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.7042, allocations: 2.953 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.7042, allocations: 1.969 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.713e-05/0.7042, allocations: 87.8 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.7042, allocations: 0 / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002071/0.7044, allocations: 6.375 kB / 1.087 GB, free: 14.02 MB / 0.8419 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.0001128/0.7046, allocations: 102.7 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.7049, allocations: 75.69 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7049, allocations: 0 / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.7051, allocations: 34 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.7053, allocations: 16.67 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.7056, allocations: 156.5 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.706, allocations: 0.6804 MB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.706, allocations: 9.594 kB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.706, allocations: 4 kB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.002033/0.7081, allocations: 0.7403 MB / 1.089 GB, free: 13 MB / 0.8419 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=400 -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