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.001291/0.001291, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.00134/0.00134, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.443/1.443, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 482.2 MB / 0.7548 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 64.06 kB / 0.9238 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8525/0.8547, allocations: 162.2 MB / 1.082 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001833/0.8566, allocations: 0.728 MB / 1.083 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007469/0.8573, allocations: 0.7832 MB / 1.084 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.8574, allocations: 0.75 kB / 1.084 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.8574, allocations: 4 kB / 1.084 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.8575, allocations: 1.094 kB / 1.084 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.622e-05/0.8575, allocations: 7.172 kB / 1.084 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.8576, allocations: 28.03 kB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.8577, allocations: 5.172 kB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.8578, allocations: 12.67 kB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.285e-05/0.8578, allocations: 9.25 kB / 1.084 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.8578, allocations: 3.031 kB / 1.084 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-06/0.8578, allocations: 5.344 kB / 1.084 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.8579, allocations: 10.48 kB / 1.084 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.8579, allocations: 8.406 kB / 1.084 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.741e-05/0.8579, allocations: 18.98 kB / 1.084 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.858, allocations: 3.938 kB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.858, allocations: 0 / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.858, allocations: 0.8906 kB / 1.084 GB, free: 0.6094 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.0003548/0.8583, allocations: 336.6 kB / 1.084 GB, free: 260 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.8584, allocations: 9.125 kB / 1.084 GB, free: 260 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.8584, allocations: 1.469 kB / 1.084 GB, free: 260 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.251e-05/0.8585, allocations: 168.3 kB / 1.084 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.8585, allocations: 1.078 kB / 1.084 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.8585, allocations: 5.844 kB / 1.084 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.8587, allocations: 52.89 kB / 1.084 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8587, allocations: 192 / 1.084 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.8587, allocations: 8.594 kB / 1.084 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8587, allocations: 0.5312 kB / 1.084 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.8589, allocations: 37.31 kB / 1.084 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.8593, allocations: 259.2 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.8594, allocations: 41.06 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.8595, allocations: 19.42 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.8595, allocations: 4.906 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.8596, allocations: 35.94 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8596, allocations: 0 / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003373/0.8599, allocations: 80.36 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.86, allocations: 52.2 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.8601, allocations: 102.7 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.8601, allocations: 29.7 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.8601, allocations: 86.5 kB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.8602, allocations: 5.219 kB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.8602, allocations: 13.44 kB / 1.085 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8604, allocations: 320.6 kB / 1.085 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.8605, allocations: 13.75 kB / 1.085 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.8605, allocations: 23.17 kB / 1.085 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.8607, allocations: 36.98 kB / 1.085 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8607, allocations: 0 / 1.085 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.8609, allocations: 71.33 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8609, allocations: 5.5 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8609, allocations: 0.9062 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.8609, allocations: 8.094 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.861, allocations: 9.422 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.8611, allocations: 0 / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.8611, allocations: 5.797 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.8611, allocations: 2.047 kB / 1.086 GB, free: 14.89 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 (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 8.917e-05/0.8612, allocations: 115.6 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.8612, allocations: 1.891 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.8613, allocations: 4.391 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.8613, allocations: 5.156 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8613, allocations: 0.5625 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8613, allocations: 1.062 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.8615, allocations: 164 kB / 1.086 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.8615, allocations: 0 / 1.086 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.8615, allocations: 12.75 kB / 1.086 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8616, allocations: 1.5 kB / 1.086 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.8616, allocations: 3.938 kB / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8616, allocations: 4.875 kB / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8616, allocations: 0.7031 kB / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.8618, allocations: 162.1 kB / 1.086 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.8619, allocations: 79.84 kB / 1.086 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.8619, allocations: 0.7031 kB / 1.086 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.862, allocations: 10.56 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.862, allocations: 2.391 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.862, allocations: 4.031 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.531e-05/0.8621, allocations: 81.06 kB / 1.086 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8621, allocations: 0 / 1.086 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000208/0.8623, allocations: 3.938 kB / 1.086 GB, free: 14.23 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 (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.0001476/0.8625, allocations: 103.7 kB / 1.086 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.8627, allocations: 43.44 kB / 1.086 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8627, allocations: 4.062 kB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.8628, allocations: 16.89 kB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.8631, allocations: 10.61 kB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.8634, allocations: 144.4 kB / 1.086 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.8637, allocations: 0.6763 MB / 1.087 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.8638, allocations: 12.72 kB / 1.087 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.8638, allocations: 0 / 1.087 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.002083/0.8659, allocations: 0.559 MB / 1.088 GB, free: 13.22 MB / 0.8419 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/jenkins1/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