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 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.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.001186/0.001186, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.7 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.25 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3925, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.002472/0.395, allocations: 0.666 MB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3962, allocations: 0.7884 MB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.3963, allocations: 4 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.3963, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.3964, allocations: 3.938 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.694e-05/0.3965, allocations: 7.984 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.719e-05/0.3966, allocations: 19.94 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3967, allocations: 11.98 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.3968, allocations: 15.92 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.3969, allocations: 15.92 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.3969, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.3969, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.397, allocations: 4 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.397, allocations: 11.92 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.902e-05/0.3971, allocations: 23.97 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3971, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.289e-06/0.3971, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3971, allocations: 3.938 kB / 1.07 GB, free: 8.773 MB / 0.8262 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.0005494/0.3977, allocations: 343.7 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3977, allocations: 8.031 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.3978, allocations: 0.9375 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3979, allocations: 168.3 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.398, allocations: 384 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.398, allocations: 384 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3982, allocations: 56.39 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3982, allocations: 192 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3982, allocations: 7.938 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3982, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.3984, allocations: 35.95 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.3988, allocations: 244.9 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.399, allocations: 54.48 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.816e-05/0.3991, allocations: 20.84 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3991, allocations: 0 / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3991, allocations: 30.56 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3992, allocations: 0 / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003416/0.3995, allocations: 85.73 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3996, allocations: 55.34 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.3996, allocations: 109.8 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3997, allocations: 25.7 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3997, allocations: 80.14 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.3997, allocations: 15.89 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.3998, allocations: 13.66 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3999, allocations: 310.8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.4, allocations: 28 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.4001, allocations: 11.98 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.4002, allocations: 40.83 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4002, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.4004, allocations: 77.59 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4005, allocations: 4 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4005, allocations: 3.984 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4005, allocations: 0 / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.4006, allocations: 11.98 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4006, allocations: 3.938 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.4006, allocations: 4 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.4007, allocations: 0 / 1.072 GB, free: 6.734 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/0.4007, allocations: 119.5 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.4008, allocations: 11.91 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.4008, allocations: 3.125 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4008, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4008, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4008, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.401, allocations: 157.6 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4011, allocations: 7.984 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.4011, allocations: 4 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4011, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.4011, allocations: 4 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4011, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4011, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.4014, allocations: 167.4 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.4015, allocations: 81.11 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.4015, allocations: 3.984 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.4016, allocations: 8.031 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.4016, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.4016, allocations: 256 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.4017, allocations: 91.27 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4017, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002077/0.4019, allocations: 7.938 kB / 1.072 GB, free: 5.988 MB / 0.8262 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 (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.0001605/0.402, allocations: 99.78 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.4023, allocations: 43.95 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4023, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.4024, allocations: 19.92 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.4027, allocations: 11.88 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.403, allocations: 117.5 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.4033, allocations: 0.6768 MB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.4033, allocations: 4 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.4034, allocations: 11.44 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.4034, allocations: 0 / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.002654/0.406, allocations: 444.2 kB / 1.074 GB, free: 4.516 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