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.001515/0.001515, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001648/0.001649, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.248/2.248, allocations: 390.2 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.45 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2974, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00349/0.301, allocations: 1.989 MB / 0.9522 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.303, allocations: 1.193 MB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.3032, allocations: 11.88 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.3036, allocations: 159.4 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.304, allocations: 159.4 kB / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.3046, allocations: 215.5 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.305, allocations: 311.2 kB / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.3051, allocations: 56.27 kB / 0.9543 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.3054, allocations: 147.4 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.3056, allocations: 147.4 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.3056, allocations: 19.94 kB / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3058, allocations: 55.97 kB / 0.9546 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3059, allocations: 87.67 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.306, allocations: 115.2 kB / 0.9548 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.3065, allocations: 367 kB / 0.9552 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3065, allocations: 3.938 kB / 0.9552 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3065, allocations: 4 kB / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.3065, allocations: 0 / 0.9552 GB, free: 3.816 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.0009616/0.3075, allocations: 0.6147 MB / 0.9558 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3075, allocations: 12.03 kB / 0.9558 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.3076, allocations: 40.47 kB / 0.9558 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.3081, allocations: 382.1 kB / 0.9562 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3081, allocations: 4 kB / 0.9562 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3081, allocations: 12 kB / 0.9562 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3084, allocations: 111.4 kB / 0.9563 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3084, allocations: 0 / 0.9563 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3084, allocations: 4 kB / 0.9563 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3084, allocations: 4 kB / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3086, allocations: 55.95 kB / 0.9564 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007884/0.3094, allocations: 0.4886 MB / 0.9568 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.3097, allocations: 138.7 kB / 0.957 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3099, allocations: 44.83 kB / 0.957 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.3099, allocations: 11.98 kB / 0.957 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.3102, allocations: 114.4 kB / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.3102, allocations: 0 / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005393/0.3107, allocations: 225.1 kB / 0.9574 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3108, allocations: 59.34 kB / 0.9574 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/0.3113, allocations: 0.5015 MB / 0.9579 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3114, allocations: 41.69 kB / 0.9579 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3115, allocations: 156.5 kB / 0.9581 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.3116, allocations: 35.55 kB / 0.9581 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.85e-05/0.3117, allocations: 65.97 kB / 0.9582 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3118, allocations: 350.8 kB / 0.9585 GB, free: 172 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.312, allocations: 96.52 kB / 0.9586 GB, free: 76 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.3122, allocations: 135.6 kB / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.3126, allocations: 183.8 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3126, allocations: 0 / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000528/0.3131, allocations: 329.1 kB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3131, allocations: 4 kB / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3132, allocations: 11.88 kB / 0.9592 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3132, allocations: 4.062 kB / 0.9592 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3134, allocations: 55.91 kB / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3134, allocations: 0 / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3136, allocations: 23.83 kB / 0.9593 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.3136, allocations: 8 kB / 0.9593 GB, free: 15.31 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.0001644/0.3138, allocations: 181.2 kB / 0.9595 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.3138, allocations: 35.61 kB / 0.9595 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.3139, allocations: 43.06 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3139, allocations: 4 kB / 0.9596 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3139, allocations: 0 / 0.9596 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3139, allocations: 0 / 0.9596 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3142, allocations: 305.3 kB / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3142, allocations: 4 kB / 0.9599 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.3143, allocations: 12 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3143, allocations: 0 / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3143, allocations: 11.92 kB / 0.9599 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3143, allocations: 4 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3143, allocations: 0 / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.3147, allocations: 208.6 kB / 0.9601 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.3148, allocations: 108.7 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.144e-05/0.3149, allocations: 11.94 kB / 0.9602 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.315, allocations: 7.984 kB / 0.9602 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.315, allocations: 11.98 kB / 0.9602 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.3151, allocations: 15.98 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003361/0.3154, allocations: 311.1 kB / 0.9605 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.774e-06/0.3154, allocations: 4 kB / 0.9606 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003115/0.3157, allocations: 59.92 kB / 0.9606 GB, free: 13.91 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.0009681/0.3167, allocations: 420.6 kB / 0.961 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.3171, allocations: 199.8 kB / 0.9612 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3172, allocations: 0 / 0.9612 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.3173, allocations: 59.91 kB / 0.9613 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3178, allocations: 94.89 kB / 0.9613 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.3186, allocations: 0.5726 MB / 0.9619 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.319, allocations: 0.7868 MB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.3191, allocations: 39.42 kB / 0.9627 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.3191, allocations: 0 / 0.9627 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of Templates: time 0.00715/0.3263, allocations: 4.377 MB / 0.967 GB, free: 7.492 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 -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