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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001142/0.001142, allocations: 92.23 kB / 16.02 MB, free: 80 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.001875/0.001876, allocations: 178.1 kB / 16.92 MB, free: 6.648 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.603/2.603, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005268/0.0005269, allocations: 12 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6708/0.6714, allocations: 142.4 MB / 0.9557 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.00082/0.6722, allocations: 401.5 kB / 0.9561 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007334/0.673, allocations: 0.788 MB / 0.9569 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.673, allocations: 0 / 0.9569 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.673, allocations: 3.938 kB / 0.9569 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.6731, allocations: 5.031 kB / 0.9569 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.055e-05/0.6732, allocations: 0.6562 kB / 0.9569 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.527e-05/0.6732, allocations: 25.61 kB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.6733, allocations: 11.17 kB / 0.9569 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.6734, allocations: 11.52 kB / 0.9569 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.6734, allocations: 10.2 kB / 0.9569 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.6734, allocations: 0.9688 kB / 0.9569 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-06/0.6735, allocations: 1 kB / 0.9569 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.6735, allocations: 5.062 kB / 0.9569 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.6735, allocations: 31.14 kB / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.912e-05/0.6736, allocations: 16.16 kB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6736, allocations: 0 / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6736, allocations: 0 / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.6736, allocations: 0.5312 kB / 0.957 GB, free: 6.73 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.0003405/0.6739, allocations: 342.2 kB / 0.9573 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.674, allocations: 10.34 kB / 0.9573 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.674, allocations: 10.33 kB / 0.9573 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.339e-05/0.6741, allocations: 169.5 kB / 0.9575 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.6741, allocations: 1.625 kB / 0.9575 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.6741, allocations: 4.375 kB / 0.9575 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.6743, allocations: 55.7 kB / 0.9576 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.6743, allocations: 192 / 0.9576 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.6743, allocations: 7.938 kB / 0.9576 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6743, allocations: 1.531 kB / 0.9576 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.6745, allocations: 47.41 kB / 0.9576 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.6748, allocations: 253.5 kB / 0.9579 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.6749, allocations: 44.88 kB / 0.9579 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.675, allocations: 35.53 kB / 0.9579 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.6751, allocations: 0 / 0.9579 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.6751, allocations: 35.73 kB / 0.958 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6751, allocations: 0 / 0.958 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003481/0.6754, allocations: 99.8 kB / 0.9581 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.6755, allocations: 56.53 kB / 0.9581 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.469e-05/0.6755, allocations: 99.66 kB / 0.9582 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.6755, allocations: 29.7 kB / 0.9582 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.6756, allocations: 85.36 kB / 0.9583 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.6756, allocations: 9.016 kB / 0.9583 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.6756, allocations: 10.75 kB / 0.9583 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.436e-05/0.6757, allocations: 320.1 kB / 0.9586 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.6758, allocations: 17.83 kB / 0.9587 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.6758, allocations: 26.52 kB / 0.9587 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.676, allocations: 48.84 kB / 0.9587 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.676, allocations: 0.8438 kB / 0.9587 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.6762, allocations: 81.95 kB / 0.9588 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.6762, allocations: 5.5 kB / 0.9588 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6762, allocations: 0 / 0.9588 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6763, allocations: 1.469 kB / 0.9588 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.6764, allocations: 16.36 kB / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6764, allocations: 0 / 0.9588 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.6764, allocations: 10.89 kB / 0.9588 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.6764, allocations: 0 / 0.9588 GB, free: 4.891 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 4.759e-05/0.6765, allocations: 119.2 kB / 0.959 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.6765, allocations: 5.281 kB / 0.959 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/0.6765, allocations: 4.625 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6765, allocations: 0 / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6766, allocations: 5.5 kB / 0.959 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6766, allocations: 0 / 0.959 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.6767, allocations: 162.8 kB / 0.9591 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6767, allocations: 0 / 0.9591 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.6767, allocations: 11.3 kB / 0.9591 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.6767, allocations: 1.875 kB / 0.9591 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.6768, allocations: 0 / 0.9591 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6768, allocations: 0 / 0.9591 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6768, allocations: 1.906 kB / 0.9591 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.677, allocations: 179.7 kB / 0.9593 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.677, allocations: 78.86 kB / 0.9594 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.677, allocations: 3.938 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.6771, allocations: 13.42 kB / 0.9594 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.6771, allocations: 5.812 kB / 0.9594 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.6772, allocations: 2.094 kB / 0.9594 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.06e-05/0.6772, allocations: 81.84 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6772, allocations: 2.156 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002046/0.6774, allocations: 3 kB / 0.9595 GB, free: 4.199 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.0001123/0.6775, allocations: 102.6 kB / 0.9596 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.6777, allocations: 55.06 kB / 0.9596 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6777, allocations: 0 / 0.9596 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.076e-05/0.6778, allocations: 23.92 kB / 0.9597 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.6781, allocations: 13.73 kB / 0.9597 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.6784, allocations: 145.6 kB / 0.9598 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.138e-05/0.6785, allocations: 0.6784 MB / 0.9605 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.6785, allocations: 8.75 kB / 0.9605 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.6785, allocations: 0 / 0.9605 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.001854/0.6804, allocations: 0.537 MB / 0.961 GB, free: 2.941 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/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