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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001522/0.001522, allocations: 190.4 kB / 16.14 MB, free: 6.645 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.559 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.488/2.488, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7347, allocations: 140.4 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002249/0.737, allocations: 0.8949 MB / 0.9499 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.7384, allocations: 0.9017 MB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.7385, allocations: 5.5 kB / 0.9508 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.7387, allocations: 3.938 kB / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.7388, allocations: 15.02 kB / 0.9508 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.739, allocations: 52.62 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.7392, allocations: 112.7 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.7393, allocations: 46.17 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.973e-05/0.7394, allocations: 56.55 kB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.7396, allocations: 79.03 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.7396, allocations: 6.875 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.58e-05/0.7397, allocations: 8.25 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.7397, allocations: 29.41 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.7398, allocations: 54.64 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.7399, allocations: 124.3 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7399, allocations: 1.375 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7399, allocations: 0 / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.74, allocations: 0 / 0.9514 GB, free: 7.254 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008187/0.7408, allocations: 451.9 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.7408, allocations: 13.61 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.7409, allocations: 45.44 kB / 0.9519 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.7409, allocations: 11.72 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.7411, allocations: 211.5 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.7412, allocations: 16.23 kB / 0.9521 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.7412, allocations: 9.719 kB / 0.9521 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.7416, allocations: 145.8 kB / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.7416, allocations: 0 / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.7416, allocations: 4 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.7417, allocations: 3.281 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.7422, allocations: 157.5 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.7428, allocations: 411.2 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.7436, allocations: 177.5 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.7439, allocations: 87.03 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.744, allocations: 1.344 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.744, allocations: 35.84 kB / 0.9531 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.264e-06/0.744, allocations: 0 / 0.9531 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0008929/0.7449, allocations: 280.9 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.7449, allocations: 64.75 kB / 0.9534 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.745, allocations: 146.4 kB / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.745, allocations: 29.7 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.7451, allocations: 109.8 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.7452, allocations: 23.94 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.7452, allocations: 29.52 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.7453, allocations: 322.9 kB / 0.954 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.7455, allocations: 78.52 kB / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.7458, allocations: 71.73 kB / 0.9542 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.7463, allocations: 164.1 kB / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7463, allocations: 1.062 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005628/0.7469, allocations: 201.8 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7469, allocations: 9.562 kB / 0.9546 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7469, allocations: 4 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.7469, allocations: 0.9375 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.7472, allocations: 39.11 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7472, allocations: 0.9062 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.7474, allocations: 23.34 kB / 0.9546 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.7474, allocations: 2.719 kB / 0.9546 GB, free: 4.594 MB / 0.7169 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 9.275e-05/0.7475, allocations: 133.2 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.7475, allocations: 15.97 kB / 0.9548 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.7476, allocations: 15.06 kB / 0.9548 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7476, allocations: 1.25 kB / 0.9548 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7476, allocations: 1.281 kB / 0.9548 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7476, allocations: 3.984 kB / 0.9548 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.7478, allocations: 232.7 kB / 0.955 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7478, allocations: 0 / 0.955 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.7481, allocations: 44.14 kB / 0.955 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.7481, allocations: 4 kB / 0.9551 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.7481, allocations: 9.172 kB / 0.9551 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7481, allocations: 1.25 kB / 0.9551 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.7481, allocations: 0 / 0.9551 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.7487, allocations: 298.2 kB / 0.9553 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.7488, allocations: 92.55 kB / 0.9554 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.7488, allocations: 5.188 kB / 0.9554 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.749, allocations: 21.78 kB / 0.9555 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.7491, allocations: 34.52 kB / 0.9555 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.7492, allocations: 2.531 kB / 0.9555 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.7492, allocations: 114.7 kB / 0.9556 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7492, allocations: 0 / 0.9556 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002649/0.7495, allocations: 26.94 kB / 0.9556 GB, free: 3.699 MB / 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: 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.0008436/0.7504, allocations: 0.8362 MB / 0.9564 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005657/0.7509, allocations: 172.6 kB / 0.9566 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7509, allocations: 0 / 0.9566 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.7512, allocations: 102.3 kB / 0.9567 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.7515, allocations: 14.56 kB / 0.9567 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.7541, allocations: 1.874 MB / 0.9586 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.7543, allocations: 0.7065 MB / 0.9592 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000124/0.7544, allocations: 25.67 kB / 0.9593 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.7545, allocations: 42.09 kB / 0.9593 GB, free: 500 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7545, allocations: 0 / 0.9593 GB, free: 500 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.772, allocations: 3.324 MB / 0.9626 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.7722, allocations: 203.5 kB / 0.9627 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.602, allocations: 0 / 0.9627 GB, free: 14.59 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > 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