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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001191/0.001191, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001087/0.001087, allocations: 189.7 kB / 17.35 MB, free: 5.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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9233/0.9255, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.001872/0.9274, allocations: 0.6697 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.9282, allocations: 0.7864 MB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.9283, allocations: 1.125 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.9283, allocations: 0.6094 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.9284, allocations: 5.031 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.282e-05/0.9285, allocations: 7.688 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.132e-05/0.9285, allocations: 33.53 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.9286, allocations: 3.828 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.9287, allocations: 13.67 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.9288, allocations: 13.14 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.9288, allocations: 2.375 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.9288, allocations: 2.625 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.9288, allocations: 5.359 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.9288, allocations: 7.594 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.114e-05/0.9289, allocations: 25.5 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9289, allocations: 4 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9289, allocations: 1.062 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.86e-06/0.929, allocations: 0 / 1.09 GB, free: 4.453 MB / 0.8575 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.0003919/0.9294, allocations: 345.4 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.9294, allocations: 10.16 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.9294, allocations: 2.188 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.764e-05/0.9295, allocations: 163 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.9295, allocations: 1.531 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.9296, allocations: 2.422 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.9297, allocations: 52.44 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.9297, allocations: 1.312 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.9297, allocations: 3.938 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9298, allocations: 0.8125 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.9299, allocations: 32.98 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.9302, allocations: 251.7 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.9304, allocations: 39.84 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.9304, allocations: 24.31 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.9305, allocations: 3.938 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.9305, allocations: 40.45 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.9305, allocations: 0.9688 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003569/0.9309, allocations: 91.25 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.9309, allocations: 53.08 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.931, allocations: 105.2 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.931, allocations: 27.62 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.931, allocations: 82.19 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.931, allocations: 12.02 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.9311, allocations: 16.77 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.489e-05/0.9311, allocations: 313 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.9312, allocations: 18.61 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.9313, allocations: 13.97 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.9314, allocations: 45.94 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9314, allocations: 0 / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.9316, allocations: 71.67 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9317, allocations: 5.609 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.9317, allocations: 0 / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.9317, allocations: 0.9375 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.9318, allocations: 8.328 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.9318, allocations: 0.5156 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.9318, allocations: 10.39 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.9319, allocations: 1.438 kB / 1.092 GB, free: 2.73 MB / 0.8575 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 5.017e-05/0.9319, allocations: 112.1 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.9319, allocations: 1.031 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.932, allocations: 9.578 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.932, allocations: 0 / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.932, allocations: 1.281 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.932, allocations: 0.6562 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.9321, allocations: 159.7 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.9321, allocations: 5.812 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.9322, allocations: 8.734 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.9322, allocations: 0 / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.9322, allocations: 0 / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9322, allocations: 1.656 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9322, allocations: 3.938 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.9324, allocations: 175.8 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.9325, allocations: 79.55 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.9325, allocations: 2.531 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.9325, allocations: 6.188 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.9326, allocations: 4.75 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.9326, allocations: 5.906 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.9326, allocations: 88.69 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9326, allocations: 0 / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002054/0.9328, allocations: 3.5 kB / 1.093 GB, free: 2.066 MB / 0.8575 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.0001393/0.933, allocations: 104.4 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.9332, allocations: 39.77 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9332, allocations: 0 / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.9333, allocations: 21.28 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.9336, allocations: 11.64 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.9339, allocations: 131.6 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.934, allocations: 0.6766 MB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.9341, allocations: 8.656 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.9341, allocations: 1.031 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of Templates: time 0.002307/0.9364, allocations: 0.5505 MB / 1.094 GB, free: 1.09 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches