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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001651/0.001651, allocations: 191.3 kB / 16.14 MB, free: 6.695 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002429, allocations: 69.11 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3756, allocations: 157.4 MB / 1.052 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.002156/0.3778, allocations: 0.7672 MB / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.3787, allocations: 0.804 MB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.3787, allocations: 0 / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.3788, allocations: 3.938 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.3789, allocations: 11.94 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.521e-05/0.3789, allocations: 7.984 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.379, allocations: 43.86 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3791, allocations: 12 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.3792, allocations: 11.98 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.3793, allocations: 27.84 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3793, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.201e-05/0.3793, allocations: 4 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.3793, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.3794, allocations: 23.92 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.915e-05/0.3795, allocations: 43.8 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3795, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3795, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3795, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 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.0006659/0.3802, allocations: 363.6 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3802, allocations: 11.97 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.3803, allocations: 8.922 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3804, allocations: 172.2 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3804, allocations: 4.375 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3804, allocations: 384 / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3807, allocations: 66.22 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3807, allocations: 192 / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3807, allocations: 7.938 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3807, allocations: 0 / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.381, allocations: 67.92 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.3814, allocations: 264.9 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.3816, allocations: 66.47 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3818, allocations: 32.92 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.3818, allocations: 4 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3818, allocations: 30.56 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.3818, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005437/0.3824, allocations: 137.4 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.3824, allocations: 51.41 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.3825, allocations: 109.8 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3825, allocations: 33.7 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.3826, allocations: 80.14 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.3826, allocations: 11.81 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.3827, allocations: 25.64 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3828, allocations: 314.8 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.383, allocations: 35.97 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3831, allocations: 31.95 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.3834, allocations: 72.78 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3834, allocations: 3.938 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003005/0.3837, allocations: 97.56 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3837, allocations: 7.938 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3838, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3838, allocations: 336 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3839, allocations: 19.98 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3839, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.489e-05/0.384, allocations: 11.98 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-06/0.384, allocations: 0 / 1.056 GB, free: 4.691 MB / 0.8106 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 8.183e-05/0.3841, allocations: 119.3 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.3841, allocations: 7.906 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.3842, allocations: 7.891 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3842, allocations: 4 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3842, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3842, allocations: 4 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.3844, allocations: 169.6 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3844, allocations: 7.984 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.3845, allocations: 15.92 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3845, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3845, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3845, allocations: 4 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3845, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.385, allocations: 195.4 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.3851, allocations: 88.94 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3851, allocations: 0 / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3852, allocations: 11.98 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.3852, allocations: 4 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3853, allocations: 7.984 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.3853, allocations: 83.28 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3853, allocations: 0 / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002138/0.3855, allocations: 8 kB / 1.057 GB, free: 3.871 MB / 0.8106 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.0001781/0.3857, allocations: 99.25 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.386, allocations: 75.86 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3861, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3862, allocations: 35.95 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3866, allocations: 11.88 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.3869, allocations: 147.1 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.3874, allocations: 0.6809 MB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.3875, allocations: 0 / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.3875, allocations: 7.438 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of SimCode: time 2.114e-06/0.3875, allocations: 0 / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of Templates: time 0.002959/0.3905, allocations: 0.5513 MB / 1.058 GB, free: 2.211 MB / 0.8106 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/jenkins/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