Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009242/0.0009242, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009965/0.0009963, allocations: 168.7 kB / 15.95 MB, free: 204 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.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.926/2.926, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 13.88 kB / 0.9022 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3618, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.00105/0.3629, allocations: 392.6 kB / 1.058 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009892/0.3639, allocations: 0.7924 MB / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.364, allocations: 0 / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.364, allocations: 3.938 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.3641, allocations: 0 / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.651e-05/0.3641, allocations: 4 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.985e-05/0.3642, allocations: 19.92 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3643, allocations: 7.984 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.3644, allocations: 11.94 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.318e-05/0.3644, allocations: 3.984 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.3645, allocations: 8 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.3645, allocations: 0 / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.3645, allocations: 4 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.3645, allocations: 33.64 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.357e-05/0.3646, allocations: 7.969 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3646, allocations: 0 / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3646, allocations: 4 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3646, allocations: 0 / 1.059 GB, free: 4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000513/0.3651, allocations: 347.5 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3652, allocations: 8.031 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3652, allocations: 7.906 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3654, allocations: 167 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3654, allocations: 0 / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.3654, allocations: 7.953 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3656, allocations: 57.67 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3656, allocations: 7.938 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3656, allocations: 0 / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3657, allocations: 0 / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.3658, allocations: 43.91 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.3662, allocations: 260.9 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3663, allocations: 42.56 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.3664, allocations: 24.91 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.3664, allocations: 0 / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3665, allocations: 38.56 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.3665, allocations: 0 / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003413/0.3668, allocations: 97.58 kB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3669, allocations: 55.34 kB / 1.06 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.3669, allocations: 105.8 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.367, allocations: 25.7 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.367, allocations: 84.14 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.3671, allocations: 7.906 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.3671, allocations: 128 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3672, allocations: 318.8 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.3673, allocations: 19.98 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.3673, allocations: 19.98 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.529e-05/0.3674, allocations: 32 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3674, allocations: 0 / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001753/0.3676, allocations: 77.59 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3677, allocations: 8.969 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3677, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3677, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.3678, allocations: 11.98 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3678, allocations: 0 / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.3678, allocations: 11.91 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.3679, allocations: 0 / 1.061 GB, free: 1.934 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 (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 8.587e-05/0.3679, allocations: 125.8 kB / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.368, allocations: 0 / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.368, allocations: 3.125 kB / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.368, allocations: 3.984 kB / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.368, allocations: 0 / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.368, allocations: 4 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.3682, allocations: 157.7 kB / 1.061 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3682, allocations: 3.953 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.3683, allocations: 12 kB / 1.061 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3683, allocations: 4 kB / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3683, allocations: 0 / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3683, allocations: 0 / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3683, allocations: 11.86 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3685, allocations: 167.5 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.3686, allocations: 85.05 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3686, allocations: 0 / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.3687, allocations: 15.94 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3687, allocations: 3.984 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.3687, allocations: 256 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.3688, allocations: 83.28 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3688, allocations: 0 / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002081/0.369, allocations: 15.88 kB / 1.062 GB, free: 1.16 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 (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.0001727/0.3692, allocations: 103.2 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3694, allocations: 51.89 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3694, allocations: 4.062 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.271e-05/0.3695, allocations: 19.98 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3698, allocations: 4 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.3701, allocations: 104.7 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3703, allocations: 0.681 MB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.3704, allocations: 4 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.3704, allocations: 7.438 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3704, allocations: 0 / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of Templates: time 0.002466/0.3729, allocations: 362.6 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches