Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.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.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.0009131, allocations: 91.92 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.001056/0.001056, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.266 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.464/2.464, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12.28 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7908, allocations: 142.4 MB / 0.9557 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002497/0.7933, allocations: 1.693 MB / 0.9574 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.7952, allocations: 1.154 MB / 0.9585 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.7953, allocations: 10.03 kB / 0.9585 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.7958, allocations: 146.7 kB / 0.9587 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.7961, allocations: 143 kB / 0.9588 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.7966, allocations: 202.8 kB / 0.959 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.7969, allocations: 294.1 kB / 0.9593 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.797, allocations: 54.5 kB / 0.9593 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.7972, allocations: 122.8 kB / 0.9594 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.7974, allocations: 139 kB / 0.9596 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.7974, allocations: 5.281 kB / 0.9596 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.7976, allocations: 43.39 kB / 0.9596 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.7977, allocations: 92.94 kB / 0.9597 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.7978, allocations: 131 kB / 0.9598 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.7981, allocations: 293 kB / 0.9601 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7981, allocations: 5.375 kB / 0.9601 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7981, allocations: 0 / 0.9601 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7981, allocations: 0 / 0.9601 GB, free: 4.59 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008089/0.799, allocations: 0.5677 MB / 0.9607 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.799, allocations: 13.62 kB / 0.9607 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.7991, allocations: 35.69 kB / 0.9607 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.7995, allocations: 375.2 kB / 0.9611 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.7996, allocations: 4.125 kB / 0.9611 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.7996, allocations: 9.5 kB / 0.9611 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.7998, allocations: 107.9 kB / 0.9612 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.7998, allocations: 0 / 0.9612 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.7999, allocations: 5.375 kB / 0.9612 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.7999, allocations: 1.375 kB / 0.9612 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.8, allocations: 63.42 kB / 0.9613 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.8008, allocations: 0.4893 MB / 0.9617 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.8011, allocations: 139.6 kB / 0.9619 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.8013, allocations: 45.19 kB / 0.9619 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.8013, allocations: 1.031 kB / 0.9619 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.8015, allocations: 117.4 kB / 0.962 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/0.8015, allocations: 0 / 0.962 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005357/0.8021, allocations: 231.6 kB / 0.9622 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.8021, allocations: 53.03 kB / 0.9623 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.8027, allocations: 0.5115 MB / 0.9628 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.8028, allocations: 30.89 kB / 0.9628 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.8029, allocations: 157.3 kB / 0.963 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.8029, allocations: 42.5 kB / 0.963 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.803, allocations: 36.86 kB / 0.963 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.8031, allocations: 345.3 kB / 0.9634 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.8033, allocations: 103.9 kB / 0.9635 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.8035, allocations: 136.5 kB / 0.9636 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.8038, allocations: 175.5 kB / 0.9638 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.8039, allocations: 1.031 kB / 0.9638 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005386/0.8044, allocations: 331.9 kB / 0.9641 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.8044, allocations: 7.469 kB / 0.9641 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.8044, allocations: 3.938 kB / 0.9641 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8045, allocations: 2.094 kB / 0.9641 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.8047, allocations: 52.03 kB / 0.9641 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.8047, allocations: 1.469 kB / 0.9642 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.8049, allocations: 22.55 kB / 0.9642 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.8049, allocations: 12.97 kB / 0.9642 GB, free: 1.465 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.000173/0.8051, allocations: 186.6 kB / 0.9644 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.8051, allocations: 37.92 kB / 0.9644 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.8052, allocations: 37.97 kB / 0.9644 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.8052, allocations: 1.25 kB / 0.9644 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8052, allocations: 0 / 0.9644 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8053, allocations: 1.188 kB / 0.9644 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.8055, allocations: 303.4 kB / 0.9647 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.8055, allocations: 0 / 0.9647 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.8056, allocations: 16.19 kB / 0.9647 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.8056, allocations: 4 kB / 0.9647 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.8056, allocations: 10.98 kB / 0.9648 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8056, allocations: 4 kB / 0.9648 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8056, allocations: 0 / 0.9648 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.8059, allocations: 209.5 kB / 0.965 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.806, allocations: 114.7 kB / 0.9651 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.8061, allocations: 14.11 kB / 0.9651 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.8062, allocations: 8.156 kB / 0.9651 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.8062, allocations: 18.78 kB / 0.9651 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.8063, allocations: 5.156 kB / 0.9651 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000349/0.8066, allocations: 320.2 kB / 0.9654 GB, free: 492 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.253e-06/0.8066, allocations: 0 / 0.9654 GB, free: 492 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003197/0.807, allocations: 51.78 kB / 0.9655 GB, free: 484 kB / 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: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001126/0.8081, allocations: 417.5 kB / 0.9659 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.8085, allocations: 188.4 kB / 0.966 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8085, allocations: 1.281 kB / 0.966 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.8087, allocations: 68.91 kB / 0.9661 GB, free: 172 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.8092, allocations: 82.25 kB / 0.9662 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.8103, allocations: 0.6395 MB / 0.9668 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.8107, allocations: 0.7893 MB / 0.9676 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.8108, allocations: 34.11 kB / 0.9676 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8108, allocations: 0 / 0.9676 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.00803/0.8188, allocations: 4.33 MB / 0.9718 GB, free: 12.7 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches