Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001643/0.001643, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.13 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.31/2.31, allocations: 390.3 MB / 0.6655 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 62.55 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3284, allocations: 140.4 MB / 0.9511 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002757/0.3312, allocations: 0.8449 MB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.333, allocations: 0.9052 MB / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.3332, allocations: 4 kB / 0.9528 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.3334, allocations: 11.86 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.3336, allocations: 11.81 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.334, allocations: 63.91 kB / 0.9529 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.3342, allocations: 123.7 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.3345, allocations: 45.08 kB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3346, allocations: 55.84 kB / 0.9531 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3349, allocations: 79.72 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.3349, allocations: 12 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.335, allocations: 12 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.3351, allocations: 35.84 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.3352, allocations: 63.64 kB / 0.9533 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.3354, allocations: 135.5 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3354, allocations: 0 / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3354, allocations: 3.938 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.3354, allocations: 0 / 0.9535 GB, free: 5.562 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001007/0.3365, allocations: 462.8 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3365, allocations: 8.031 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.3366, allocations: 12.84 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3369, allocations: 210.5 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3369, allocations: 8.375 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.3369, allocations: 7.938 kB / 0.9541 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.3374, allocations: 155.4 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3374, allocations: 0 / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.3374, allocations: 0 / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3374, allocations: 0 / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.3379, allocations: 163.8 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.3386, allocations: 416.4 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/0.3395, allocations: 170.5 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.3397, allocations: 92.84 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3398, allocations: 0 / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3398, allocations: 34.56 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.3398, allocations: 0 / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0009261/0.3407, allocations: 281.2 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3408, allocations: 55.41 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.341, allocations: 152 kB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.341, allocations: 29.7 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.3411, allocations: 104 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.3412, allocations: 31.55 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.3412, allocations: 29.7 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3414, allocations: 322.8 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.3417, allocations: 71.92 kB / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3419, allocations: 80.23 kB / 0.9562 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.3424, allocations: 152.7 kB / 0.9564 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3424, allocations: 0 / 0.9564 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005962/0.3431, allocations: 213.4 kB / 0.9566 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3431, allocations: 7.938 kB / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3431, allocations: 0 / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3431, allocations: 0 / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.3434, allocations: 39.89 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3434, allocations: 3.984 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.3436, allocations: 31.91 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3436, allocations: 4 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001319/0.3437, allocations: 119.8 kB / 0.9568 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.3438, allocations: 23.73 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.3438, allocations: 12.72 kB / 0.9568 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3438, allocations: 4 kB / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3438, allocations: 0 / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3439, allocations: 7.984 kB / 0.9568 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3441, allocations: 237.5 kB / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3441, allocations: 0 / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.3444, allocations: 35.95 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.3444, allocations: 3.938 kB / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3444, allocations: 7.922 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3444, allocations: 0 / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3444, allocations: 0 / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.3451, allocations: 307.5 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.3451, allocations: 92.86 kB / 0.9575 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.3452, allocations: 4 kB / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.3454, allocations: 23.97 kB / 0.9575 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3455, allocations: 27.97 kB / 0.9575 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3455, allocations: 7.984 kB / 0.9575 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3456, allocations: 112.6 kB / 0.9576 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3456, allocations: 0 / 0.9576 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002744/0.3459, allocations: 19.94 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001714/0.3461, allocations: 107.2 kB / 0.9578 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006146/0.3467, allocations: 167.8 kB / 0.9579 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3467, allocations: 0 / 0.9579 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.347, allocations: 103.8 kB / 0.958 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3474, allocations: 19.94 kB / 0.958 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006833/0.3481, allocations: 246.1 kB / 0.9583 GB, free: 280 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3484, allocations: 0.7039 MB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.3486, allocations: 24.42 kB / 0.959 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.3487, allocations: 27.42 kB / 0.959 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.3487, allocations: 0 / 0.959 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of Templates: time 0.005809/0.3545, allocations: 2.403 MB / 0.9614 GB, free: 13.11 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches