Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00792/0.00792, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001993/0.001993, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.408/1.408, allocations: 222.9 MB / 240.4 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.297/2.297, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8074, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.001761/0.8092, allocations: 0.6932 MB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008022/0.81, allocations: 0.8065 MB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.8101, allocations: 5.156 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.8101, allocations: 3.938 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.751e-05/0.8102, allocations: 9.75 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.906e-05/0.8102, allocations: 9.688 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.8103, allocations: 42.98 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.8105, allocations: 10.91 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.435e-05/0.8105, allocations: 16.72 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.8106, allocations: 23.64 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.8106, allocations: 3.531 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.8106, allocations: 4.094 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.8106, allocations: 5.969 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.8107, allocations: 26.42 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.8108, allocations: 44.5 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8108, allocations: 1.25 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8108, allocations: 0 / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.8108, allocations: 0 / 1.089 GB, free: 4.117 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004852/0.8113, allocations: 373.6 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.8114, allocations: 10.28 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.8114, allocations: 39.41 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.8114, allocations: 8.344 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/0.8115, allocations: 167.9 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.8115, allocations: 1.562 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.8115, allocations: 2.75 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.8118, allocations: 68.16 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8118, allocations: 7.938 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.8118, allocations: 5.031 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.8118, allocations: 3.938 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.8121, allocations: 67.09 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.8124, allocations: 270.4 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.8127, allocations: 59.41 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.8128, allocations: 37.7 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.8128, allocations: 0 / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.8129, allocations: 35.86 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.8129, allocations: 4 kB / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005515/0.8134, allocations: 125.3 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.8135, allocations: 51.41 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.8135, allocations: 108 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.8135, allocations: 29.7 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.8136, allocations: 87.44 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.8136, allocations: 17.89 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.8136, allocations: 12.89 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.8137, allocations: 313.8 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.8139, allocations: 31.42 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.814, allocations: 39.12 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.8143, allocations: 70.05 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.8143, allocations: 0 / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003357/0.8147, allocations: 102.4 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8147, allocations: 5.844 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.8147, allocations: 0 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8147, allocations: 1.125 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.8149, allocations: 15.23 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.8149, allocations: 0.5625 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.815, allocations: 12.23 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.815, allocations: 5 kB / 1.091 GB, free: 2.289 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 (3): * Single equations (assignments): 3 * 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.725e-05/0.815, allocations: 120.3 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.8151, allocations: 6.031 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.8151, allocations: 10.31 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8151, allocations: 0 / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8151, allocations: 1.188 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8151, allocations: 0.5156 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.8153, allocations: 171.3 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8153, allocations: 3.938 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.8154, allocations: 18.89 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8154, allocations: 5.312 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.8154, allocations: 0.7969 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8154, allocations: 1.125 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8154, allocations: 0 / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.8158, allocations: 193.3 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.8158, allocations: 87.28 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.8158, allocations: 1.531 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.8159, allocations: 15.69 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.816, allocations: 7.672 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.816, allocations: 1.406 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.816, allocations: 91.86 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.816, allocations: 0 / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002265/0.8163, allocations: 6.75 kB / 1.092 GB, free: 1.602 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 (3): * Single equations (assignments): 3 * 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.0006145/0.8169, allocations: 0.7274 MB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.8173, allocations: 78.97 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8173, allocations: 0 / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.8174, allocations: 34.72 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.8178, allocations: 4.344 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.8182, allocations: 156.8 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.8185, allocations: 0.6801 MB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.8185, allocations: 1.328 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.8185, allocations: 14.8 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.8186, allocations: 0.7188 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.8363, allocations: 1.633 MB / 1.095 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/8.433, allocations: 14.36 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches