Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000931/0.000931, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.000935/0.0009351, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 0.6653 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6523/0.6527, allocations: 142.3 MB / 0.9535 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.000662/0.6534, allocations: 389 kB / 0.9539 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006221/0.654, allocations: 0.7789 MB / 0.9547 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.6541, allocations: 9.062 kB / 0.9547 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.158e-05/0.6541, allocations: 3.938 kB / 0.9547 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.6542, allocations: 4.984 kB / 0.9547 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.016e-05/0.6542, allocations: 5.031 kB / 0.9547 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.587e-05/0.6543, allocations: 12.02 kB / 0.9547 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.502e-05/0.6543, allocations: 6.828 kB / 0.9547 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.6544, allocations: 12.11 kB / 0.9547 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.744e-05/0.6544, allocations: 5.438 kB / 0.9547 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.6545, allocations: 1.156 kB / 0.9547 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-06/0.6545, allocations: 5.156 kB / 0.9547 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.6545, allocations: 5.266 kB / 0.9547 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.6545, allocations: 35.02 kB / 0.9548 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.032e-05/0.6545, allocations: 18.59 kB / 0.9548 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.6546, allocations: 1.156 kB / 0.9548 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6546, allocations: 0 / 0.9548 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.6546, allocations: 0 / 0.9548 GB, free: 7.258 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003051/0.6549, allocations: 343.4 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.6549, allocations: 8.719 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.6549, allocations: 4.953 kB / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.644e-05/0.655, allocations: 161.8 kB / 0.9553 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.655, allocations: 3.984 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.655, allocations: 1.5 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.6552, allocations: 50.34 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.6552, allocations: 4 kB / 0.9553 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.6552, allocations: 0 / 0.9553 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6552, allocations: 0 / 0.9553 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.6554, allocations: 53.28 kB / 0.9554 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.6556, allocations: 250.2 kB / 0.9556 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.6558, allocations: 43.84 kB / 0.9557 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.6558, allocations: 0 / 0.9557 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.6558, allocations: 35.59 kB / 0.9557 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.6558, allocations: 7.984 kB / 0.9557 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000326/0.6562, allocations: 98.81 kB / 0.9558 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.6562, allocations: 52.62 kB / 0.9559 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.599e-05/0.6562, allocations: 103.7 kB / 0.956 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.6562, allocations: 30.98 kB / 0.956 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.6563, allocations: 93.38 kB / 0.9561 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.6563, allocations: 3.906 kB / 0.9561 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.6563, allocations: 1.219 kB / 0.9561 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.521e-05/0.6563, allocations: 310.8 kB / 0.9564 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.6564, allocations: 26.36 kB / 0.9564 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.6565, allocations: 22.91 kB / 0.9564 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.633e-05/0.6566, allocations: 22.11 kB / 0.9564 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6566, allocations: 0 / 0.9564 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001988/0.6568, allocations: 78.27 kB / 0.9565 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6568, allocations: 4.969 kB / 0.9565 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6569, allocations: 3.984 kB / 0.9565 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6569, allocations: 1 kB / 0.9565 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.657, allocations: 12.09 kB / 0.9565 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.657, allocations: 5.234 kB / 0.9565 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.6571, allocations: 9.922 kB / 0.9566 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.6571, allocations: 0 / 0.9566 GB, free: 5.488 MB / 0.7169 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.6571, allocations: 112.2 kB / 0.9567 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.6572, allocations: 1.062 kB / 0.9567 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.6572, allocations: 8.375 kB / 0.9567 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.6572, allocations: 0 / 0.9567 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.6572, allocations: 5.25 kB / 0.9567 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6572, allocations: 7.938 kB / 0.9567 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.6573, allocations: 162.2 kB / 0.9568 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6574, allocations: 0 / 0.9568 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.6574, allocations: 17.23 kB / 0.9569 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6574, allocations: 0 / 0.9569 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.6574, allocations: 5.406 kB / 0.9569 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6575, allocations: 0 / 0.9569 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6575, allocations: 0 / 0.9569 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.6577, allocations: 177.7 kB / 0.957 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.6577, allocations: 77.11 kB / 0.9571 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.6577, allocations: 1.219 kB / 0.9571 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.6578, allocations: 18.11 kB / 0.9571 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.6579, allocations: 0.9375 kB / 0.9571 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.6579, allocations: 1.344 kB / 0.9571 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.6579, allocations: 83.16 kB / 0.9572 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6579, allocations: 0 / 0.9572 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002334/0.6582, allocations: 4.031 kB / 0.9572 GB, free: 4.797 MB / 0.7169 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.6583, allocations: 110.7 kB / 0.9573 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.6586, allocations: 50.72 kB / 0.9574 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6586, allocations: 0 / 0.9574 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.6587, allocations: 24.23 kB / 0.9574 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.6589, allocations: 10.3 kB / 0.9574 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.6592, allocations: 100.9 kB / 0.9575 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.6594, allocations: 0.6832 MB / 0.9582 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.6594, allocations: 1.312 kB / 0.9582 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.6594, allocations: 7.438 kB / 0.9582 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6594, allocations: 5.219 kB / 0.9582 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.002298/0.6617, allocations: 347.9 kB / 0.9585 GB, free: 3.656 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches