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.001207/0.001208, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001179/0.001179, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 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.302/2.302, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.001411, allocations: 67.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8882/0.8896, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.001835/0.8915, allocations: 0.6906 MB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008605/0.8924, allocations: 0.8053 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.8924, allocations: 5.344 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.8925, allocations: 4.594 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.8925, allocations: 5.984 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.23e-05/0.8926, allocations: 9.797 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.487e-05/0.8927, allocations: 42.36 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.8928, allocations: 7.797 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.8929, allocations: 25.28 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.893, allocations: 19.27 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.893, allocations: 2.688 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.893, allocations: 4.375 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.893, allocations: 14.62 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.8931, allocations: 21.77 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.8932, allocations: 41.44 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8932, allocations: 1.828 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8932, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.8932, allocations: 0 / 1.09 GB, free: 4.391 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.0004767/0.8937, allocations: 365.4 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8937, allocations: 9.281 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.8938, allocations: 7.312 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/0.8939, allocations: 166.8 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.8939, allocations: 5.75 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.8939, allocations: 1.781 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.8941, allocations: 75.34 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8942, allocations: 5.922 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8942, allocations: 3.938 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8942, allocations: 1.156 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.8945, allocations: 66.59 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.8948, allocations: 265.6 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.895, allocations: 59.66 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.8952, allocations: 40.94 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.8952, allocations: 1.312 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.8952, allocations: 39.25 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8952, allocations: 0 / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005685/0.8958, allocations: 128.7 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.8958, allocations: 52.06 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.171e-05/0.8959, allocations: 111.5 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.8959, allocations: 29.7 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.896, allocations: 87.52 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.896, allocations: 14.92 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.896, allocations: 12.8 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.8961, allocations: 317.5 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.8962, allocations: 30.78 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.8964, allocations: 35.47 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.8967, allocations: 70.58 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8967, allocations: 3.938 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003163/0.897, allocations: 98.03 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.897, allocations: 5.734 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.897, allocations: 0 / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.897, allocations: 0.5 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.8972, allocations: 15.72 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.8972, allocations: 2.422 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.8973, allocations: 11.23 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.8973, allocations: 5.031 kB / 1.092 GB, free: 2.613 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 4.941e-05/0.8973, allocations: 119.8 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.8974, allocations: 10.44 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.8974, allocations: 9.766 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8974, allocations: 0.5156 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.8974, allocations: 1.625 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8974, allocations: 0.7969 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.8976, allocations: 165.4 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8976, allocations: 1.531 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.8977, allocations: 19.31 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.8977, allocations: 0 / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.8977, allocations: 5.281 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8977, allocations: 0 / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8977, allocations: 5.062 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.898, allocations: 197.5 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.8981, allocations: 86.88 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.8981, allocations: 1.672 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.8982, allocations: 15.31 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.8982, allocations: 3.875 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.8982, allocations: 4.625 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.048e-05/0.8983, allocations: 92.5 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8983, allocations: 0 / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002153/0.8985, allocations: 6.219 kB / 1.093 GB, free: 1.922 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.0001253/0.8986, allocations: 103.9 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.899, allocations: 66.28 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.899, allocations: 0 / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.8992, allocations: 38.64 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.8995, allocations: 15.45 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.8998, allocations: 153.2 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.8999, allocations: 0.6796 MB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.9, allocations: 10.53 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.9, allocations: 0 / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of Templates: time 0.002334/0.9023, allocations: 0.7408 MB / 1.095 GB, free: 0.918 MB / 0.8575 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/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