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.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.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.001207/0.001207, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001236/0.001236, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.17 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.43/2.43, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 67.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8029/0.8044, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003012/0.8075, allocations: 1.995 MB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.8094, allocations: 1.193 MB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.8095, allocations: 7.219 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.8101, allocations: 154.9 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.8105, allocations: 153 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.8111, allocations: 225.4 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.8115, allocations: 319.8 kB / 1.093 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.8117, allocations: 44.59 kB / 1.093 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.8119, allocations: 152.2 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.8122, allocations: 152.2 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.8122, allocations: 14.66 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.8124, allocations: 59.09 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.8125, allocations: 90.89 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.8127, allocations: 124 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.8131, allocations: 372.2 kB / 1.094 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8131, allocations: 0 / 1.094 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8131, allocations: 0 / 1.094 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.8131, allocations: 0.7812 kB / 1.094 GB, free: 2.484 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008856/0.814, allocations: 0.6211 MB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.8141, allocations: 9.719 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.8142, allocations: 32.58 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.8146, allocations: 379.2 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.8147, allocations: 7.938 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.8147, allocations: 6.828 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.815, allocations: 108.7 kB / 1.095 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.815, allocations: 3.938 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.815, allocations: 6.234 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.815, allocations: 1.781 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.8152, allocations: 58.19 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008518/0.8161, allocations: 0.4909 MB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.8165, allocations: 139.8 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.8166, allocations: 51.69 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.8167, allocations: 6.703 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.8169, allocations: 105 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.8169, allocations: 0 / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005793/0.8175, allocations: 230 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.8176, allocations: 53.81 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.8182, allocations: 0.5094 MB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.8183, allocations: 31.05 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.8184, allocations: 167.2 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.8184, allocations: 33.75 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.8185, allocations: 74.31 kB / 1.097 GB, free: 412 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.8186, allocations: 345 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.8188, allocations: 106.1 kB / 1.097 GB, free: 44 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.8191, allocations: 131.4 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.8195, allocations: 193.2 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8195, allocations: 0.9688 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005973/0.8201, allocations: 322.1 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.8201, allocations: 9.844 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8202, allocations: 0.625 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8202, allocations: 2.438 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.8204, allocations: 51.42 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.8204, allocations: 2.094 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.8206, allocations: 20.17 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.8206, allocations: 13.02 kB / 1.098 GB, free: 15.73 MB / 0.8731 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.0002015/0.8208, allocations: 184 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.8209, allocations: 35.38 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.821, allocations: 33.42 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.821, allocations: 2.125 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.821, allocations: 0.5625 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.821, allocations: 1.625 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.8214, allocations: 298.1 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8214, allocations: 0.9375 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.8215, allocations: 21.56 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.8215, allocations: 8.844 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.8215, allocations: 3.859 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.8215, allocations: 1.188 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.8215, allocations: 0 / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.8219, allocations: 208.9 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.822, allocations: 116.9 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.8221, allocations: 6.703 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.8222, allocations: 13.08 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.8223, allocations: 17.69 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.8223, allocations: 6.109 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004035/0.8227, allocations: 314.2 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8227, allocations: 0 / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003178/0.823, allocations: 57.45 kB / 1.099 GB, free: 14.88 MB / 0.8731 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.001028/0.8241, allocations: 429 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.8245, allocations: 198.4 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8246, allocations: 0.7188 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.8247, allocations: 53.42 kB / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.8252, allocations: 87.2 kB / 1.1 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009804/0.8262, allocations: 0.5602 MB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.8267, allocations: 0.7856 MB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/0.8268, allocations: 35.84 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8268, allocations: 0 / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.008852/0.8357, allocations: 4.436 MB / 1.105 GB, free: 12.99 MB / 0.8731 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