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.001653/0.001653, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001798/0.001798, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.475/1.475, 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.2-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.67 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2504, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003124/0.2536, allocations: 1.997 MB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.2554, allocations: 1.197 MB / 0.9543 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.2555, allocations: 3.938 kB / 0.9543 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.2559, allocations: 159.5 kB / 0.9544 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.2563, allocations: 155.4 kB / 0.9546 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.2568, allocations: 231.2 kB / 0.9548 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.2572, allocations: 307.2 kB / 0.9551 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2573, allocations: 52.28 kB / 0.9551 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.2575, allocations: 143.4 kB / 0.9553 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.2577, allocations: 151.4 kB / 0.9554 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.2577, allocations: 16 kB / 0.9554 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.2579, allocations: 47.98 kB / 0.9555 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.258, allocations: 87.72 kB / 0.9556 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2581, allocations: 139 kB / 0.9557 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.2585, allocations: 362.7 kB / 0.956 GB, free: 3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2585, allocations: 8 kB / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2585, allocations: 0 / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.2585, allocations: 0 / 0.956 GB, free: 2.992 MB / 0.7325 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.0009245/0.2594, allocations: 0.6107 MB / 0.9566 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2595, allocations: 16.02 kB / 0.9567 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.2595, allocations: 36.47 kB / 0.9567 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.26, allocations: 374.2 kB / 0.957 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2601, allocations: 11.94 kB / 0.9571 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.2601, allocations: 8 kB / 0.9571 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.2604, allocations: 105.5 kB / 0.9572 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.2604, allocations: 0 / 0.9572 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.2604, allocations: 7.984 kB / 0.9572 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2604, allocations: 4 kB / 0.9572 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.2606, allocations: 51.97 kB / 0.9572 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.2614, allocations: 0.4925 MB / 0.9577 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.2617, allocations: 134.8 kB / 0.9578 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.2618, allocations: 48.77 kB / 0.9579 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.2619, allocations: 7.938 kB / 0.9579 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.2621, allocations: 115.5 kB / 0.958 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.2621, allocations: 0 / 0.958 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0004988/0.2626, allocations: 221.1 kB / 0.9582 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2627, allocations: 55.41 kB / 0.9583 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.2632, allocations: 0.5092 MB / 0.9588 GB, free: 12 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2632, allocations: 33.7 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2633, allocations: 164.4 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.2634, allocations: 39.53 kB / 0.959 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2635, allocations: 65.97 kB / 0.9591 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2636, allocations: 350.8 kB / 0.9594 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.2638, allocations: 100.5 kB / 0.9595 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.264, allocations: 127.6 kB / 0.9596 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.2644, allocations: 184 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2644, allocations: 0 / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005216/0.2649, allocations: 329.1 kB / 0.9601 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2649, allocations: 4 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2649, allocations: 7.938 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.265, allocations: 0 / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.2652, allocations: 56.03 kB / 0.9602 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2652, allocations: 11.88 kB / 0.9602 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.2653, allocations: 15.84 kB / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.2654, allocations: 15.98 kB / 0.9602 GB, free: 14.49 MB / 0.7481 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.0001558/0.2655, allocations: 173.8 kB / 0.9604 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.2656, allocations: 31.62 kB / 0.9604 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.2657, allocations: 47 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2657, allocations: 0 / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2657, allocations: 4 kB / 0.9604 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2657, allocations: 0 / 0.9604 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.2659, allocations: 301.3 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.266, allocations: 0 / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.266, allocations: 15.98 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.266, allocations: 0 / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2661, allocations: 11.92 kB / 0.9608 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.2661, allocations: 4 kB / 0.9608 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2661, allocations: 0 / 0.9608 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.2664, allocations: 212.6 kB / 0.961 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.2665, allocations: 108.7 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.2666, allocations: 11.94 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.2667, allocations: 4 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.2668, allocations: 19.97 kB / 0.9611 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2668, allocations: 8 kB / 0.9611 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003049/0.2671, allocations: 315.1 kB / 0.9614 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2671, allocations: 0 / 0.9614 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002909/0.2674, allocations: 60 kB / 0.9615 GB, free: 13.09 MB / 0.7481 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.0009519/0.2684, allocations: 425.2 kB / 0.9619 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.2688, allocations: 183.9 kB / 0.962 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2688, allocations: 0 / 0.962 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.2689, allocations: 59.91 kB / 0.9621 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.2694, allocations: 107 kB / 0.9622 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.2701, allocations: 0.5279 MB / 0.9627 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2705, allocations: 0.7907 MB / 0.9635 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.2706, allocations: 54.95 kB / 0.9635 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.2707, allocations: 31.42 kB / 0.9636 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.2707, allocations: 3.938 kB / 0.9636 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.007515/0.2782, allocations: 4.075 MB / 0.9676 GB, free: 7.004 MB / 0.7481 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 -s gbode -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