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.001266/0.001267, 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.001585/0.001585, allocations: 193.5 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.538/1.538, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.6/2.6, allocations: 390.2 MB / 0.6646 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002469/0.002469, allocations: 71.91 kB / 0.8125 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8889/0.8914, allocations: 140.4 MB / 0.9496 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.002167/0.8936, allocations: 0.6607 MB / 0.9502 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008832/0.8945, allocations: 0.7909 MB / 0.951 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.8946, allocations: 4.875 kB / 0.951 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.8946, allocations: 3.938 kB / 0.951 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.8947, allocations: 1.719 kB / 0.951 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.324e-05/0.8948, allocations: 7.938 kB / 0.951 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.8948, allocations: 22.14 kB / 0.9511 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.895, allocations: 8.359 kB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.8951, allocations: 9.984 kB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.8951, allocations: 15.17 kB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.8951, allocations: 1.75 kB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.8952, allocations: 10.91 kB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.8952, allocations: 0 / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.8952, allocations: 10.12 kB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.793e-05/0.8953, allocations: 21.03 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.8953, allocations: 3.984 kB / 0.9511 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.885e-06/0.8953, allocations: 3.938 kB / 0.9511 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.8953, allocations: 0 / 0.9511 GB, free: 8.012 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.0005386/0.8959, allocations: 340.1 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.896, allocations: 13.34 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.896, allocations: 2.281 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.8961, allocations: 165.6 kB / 0.9516 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.8961, allocations: 1.656 kB / 0.9516 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.8962, allocations: 5.531 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.8964, allocations: 45.64 kB / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.8964, allocations: 192 / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.8964, allocations: 9.438 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.8964, allocations: 0 / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.8966, allocations: 41.98 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.897, allocations: 254.8 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.8971, allocations: 38.59 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.8972, allocations: 31.52 kB / 0.952 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.8972, allocations: 3.938 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.8972, allocations: 32 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8972, allocations: 0 / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.8976, allocations: 80.41 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.8977, allocations: 56.8 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.8977, allocations: 99.77 kB / 0.9523 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.8978, allocations: 29.7 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.8978, allocations: 81.42 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.8978, allocations: 9.328 kB / 0.9524 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.8979, allocations: 12.03 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.8979, allocations: 316.1 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.898, allocations: 13.77 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.8981, allocations: 21.11 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.8982, allocations: 46.88 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8982, allocations: 1.125 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001744/0.8984, allocations: 68.33 kB / 0.9529 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8984, allocations: 9.516 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8985, allocations: 4.094 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.8985, allocations: 0 / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.8986, allocations: 6.875 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8986, allocations: 0 / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.8986, allocations: 11.17 kB / 0.9529 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.8986, allocations: 2.219 kB / 0.9529 GB, free: 6.184 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.8987, allocations: 110.7 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.8987, allocations: 1.188 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.8988, allocations: 8.156 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.8988, allocations: 7.922 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.8988, allocations: 1.438 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8988, allocations: 0 / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.8989, allocations: 162.4 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8989, allocations: 0 / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.899, allocations: 13.7 kB / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.899, allocations: 1.312 kB / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.899, allocations: 0 / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.899, allocations: 0 / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.899, allocations: 9.219 kB / 0.9532 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.8992, allocations: 163.4 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.8993, allocations: 85.02 kB / 0.9534 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.8993, allocations: 1.188 kB / 0.9534 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.8994, allocations: 7.297 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.8994, allocations: 5.188 kB / 0.9535 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.8994, allocations: 0.9062 kB / 0.9535 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.8995, allocations: 83.73 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8995, allocations: 0 / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002063/0.8997, allocations: 8.344 kB / 0.9535 GB, free: 5.488 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 (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.0001377/0.8998, allocations: 100.6 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.9, allocations: 42.09 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9, allocations: 0 / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.9001, allocations: 23.5 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.9004, allocations: 6.656 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.9007, allocations: 101.7 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.9009, allocations: 0.6786 MB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.9009, allocations: 7.984 kB / 0.9545 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.9009, allocations: 8.938 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of SimCode: time 1.402e-06/0.9009, allocations: 0 / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of Templates: time 0.002682/0.9036, allocations: 449.1 kB / 0.9549 GB, free: 4.312 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","/var/lib/jenkins/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