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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.0009559, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006601/0.006601, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.65/1.65, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.652/2.652, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004177, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8918, allocations: 142.4 MB / 0.9551 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.0009893/0.8928, allocations: 436.5 kB / 0.9555 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000847/0.8937, allocations: 0.8086 MB / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.8937, allocations: 0 / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.8938, allocations: 0 / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.8939, allocations: 5.281 kB / 0.9563 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.078e-05/0.8939, allocations: 9.359 kB / 0.9563 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.075e-05/0.894, allocations: 41.03 kB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.8942, allocations: 12.27 kB / 0.9563 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.8942, allocations: 26.89 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.8943, allocations: 12.17 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.8943, allocations: 1.875 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.8943, allocations: 1.312 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.8944, allocations: 13.42 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.8944, allocations: 36.7 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.42e-05/0.8945, allocations: 34.67 kB / 0.9565 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.8945, allocations: 0 / 0.9565 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8945, allocations: 1.156 kB / 0.9565 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8945, allocations: 0 / 0.9565 GB, free: 6.613 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005092/0.895, allocations: 368.2 kB / 0.9568 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.8951, allocations: 9.625 kB / 0.9568 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.8951, allocations: 6.75 kB / 0.9568 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.8952, allocations: 175.4 kB / 0.957 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.8953, allocations: 1.656 kB / 0.957 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.8953, allocations: 9.953 kB / 0.957 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.8955, allocations: 80.97 kB / 0.9571 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.8956, allocations: 192 / 0.9571 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.8956, allocations: 3.938 kB / 0.9571 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.8956, allocations: 4.969 kB / 0.9571 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.8959, allocations: 87.17 kB / 0.9572 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.8963, allocations: 267.6 kB / 0.9574 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.8965, allocations: 74.17 kB / 0.9575 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.8967, allocations: 48.91 kB / 0.9575 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.8967, allocations: 0 / 0.9575 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.8967, allocations: 31.72 kB / 0.9576 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.8967, allocations: 4 kB / 0.9576 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005627/0.8973, allocations: 155.8 kB / 0.9577 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.8973, allocations: 51.41 kB / 0.9578 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/0.8974, allocations: 111.6 kB / 0.9579 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.8974, allocations: 26.83 kB / 0.9579 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.8975, allocations: 94.09 kB / 0.958 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.8975, allocations: 16.94 kB / 0.958 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.8975, allocations: 10.88 kB / 0.958 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.8976, allocations: 315.9 kB / 0.9583 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.8978, allocations: 46.95 kB / 0.9584 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.8979, allocations: 38.78 kB / 0.9584 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.8982, allocations: 90.59 kB / 0.9585 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.8983, allocations: 5.344 kB / 0.9585 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003325/0.8986, allocations: 119.8 kB / 0.9586 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.8986, allocations: 5.688 kB / 0.9586 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8986, allocations: 0 / 0.9586 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.8987, allocations: 5.5 kB / 0.9586 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.8988, allocations: 26.88 kB / 0.9586 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8988, allocations: 0 / 0.9586 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.8989, allocations: 15.98 kB / 0.9587 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.8989, allocations: 1.625 kB / 0.9587 GB, free: 4.629 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 (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 6.831e-05/0.899, allocations: 115.6 kB / 0.9588 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.899, allocations: 5.125 kB / 0.9588 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.8991, allocations: 9.156 kB / 0.9588 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8991, allocations: 9.484 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8991, allocations: 0 / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8991, allocations: 0 / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.8992, allocations: 168.6 kB / 0.959 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8992, allocations: 0.8438 kB / 0.959 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.8993, allocations: 27.03 kB / 0.959 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8993, allocations: 1.156 kB / 0.959 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.8994, allocations: 0 / 0.959 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8994, allocations: 5.109 kB / 0.959 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8994, allocations: 0 / 0.959 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.8998, allocations: 224.7 kB / 0.9592 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.8998, allocations: 81.02 kB / 0.9593 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.8998, allocations: 1.812 kB / 0.9593 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.9, allocations: 18.8 kB / 0.9593 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.9, allocations: 5.766 kB / 0.9593 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.9, allocations: 1.812 kB / 0.9593 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.9001, allocations: 92.94 kB / 0.9594 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9001, allocations: 0 / 0.9594 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002172/0.9003, allocations: 7.125 kB / 0.9594 GB, free: 3.891 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 (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.0001925/0.9005, allocations: 102.1 kB / 0.9595 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.9009, allocations: 93.42 kB / 0.9596 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9009, allocations: 0 / 0.9596 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.9011, allocations: 46.16 kB / 0.9596 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.9014, allocations: 16.05 kB / 0.9596 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.9018, allocations: 134.6 kB / 0.9598 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.9019, allocations: 0.6837 MB / 0.9604 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.902, allocations: 1.375 kB / 0.9604 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.902, allocations: 12.81 kB / 0.9605 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.902, allocations: 0 / 0.9605 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of Templates: time 0.00399/0.906, allocations: 0.5353 MB / 0.961 GB, free: 2.613 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins/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