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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0008221/0.0008221, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008423/0.0008423, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 8.219 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7473, allocations: 142.3 MB / 0.9539 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.0009019/0.7482, allocations: 0.5295 MB / 0.9544 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.7493, allocations: 0.8877 MB / 0.9553 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.22e-05/0.7494, allocations: 1.531 kB / 0.9553 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.499e-05/0.7495, allocations: 5.5 kB / 0.9553 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.7496, allocations: 17.16 kB / 0.9553 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.7498, allocations: 45.95 kB / 0.9553 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.75, allocations: 105.5 kB / 0.9554 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.7501, allocations: 36.34 kB / 0.9555 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/0.7502, allocations: 50.05 kB / 0.9555 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.7504, allocations: 61.64 kB / 0.9556 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.7504, allocations: 4.781 kB / 0.9556 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.164e-05/0.7504, allocations: 9.438 kB / 0.9556 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.7505, allocations: 25.56 kB / 0.9556 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.7505, allocations: 43.28 kB / 0.9556 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.7507, allocations: 96.97 kB / 0.9557 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7507, allocations: 0 / 0.9557 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7507, allocations: 0 / 0.9557 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.7507, allocations: 0 / 0.9557 GB, free: 6.723 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.0008996/0.7516, allocations: 449.2 kB / 0.9562 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.7517, allocations: 9.062 kB / 0.9562 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.7517, allocations: 44.86 kB / 0.9562 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.7518, allocations: 9.688 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.7521, allocations: 201.2 kB / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.7521, allocations: 7.531 kB / 0.9564 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.7522, allocations: 12.72 kB / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.7527, allocations: 166.8 kB / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7527, allocations: 0 / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.7527, allocations: 9.375 kB / 0.9566 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.7527, allocations: 5.578 kB / 0.9566 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.7533, allocations: 183.1 kB / 0.9568 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.754, allocations: 414.2 kB / 0.9572 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007856/0.7548, allocations: 192.2 kB / 0.9574 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.7551, allocations: 117.1 kB / 0.9575 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.7552, allocations: 5.516 kB / 0.9575 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.7552, allocations: 31.97 kB / 0.9575 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.7552, allocations: 0 / 0.9575 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000964/0.7562, allocations: 328.8 kB / 0.9578 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.7562, allocations: 53.03 kB / 0.9579 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.7563, allocations: 145.3 kB / 0.958 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.7564, allocations: 31.17 kB / 0.958 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.7564, allocations: 113 kB / 0.9581 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.7565, allocations: 30.3 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.7565, allocations: 1.656 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.7565, allocations: 321.9 kB / 0.9585 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.7568, allocations: 92.61 kB / 0.9586 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.757, allocations: 90.23 kB / 0.9587 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.7573, allocations: 93.06 kB / 0.9588 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7573, allocations: 0 / 0.9588 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000546/0.7579, allocations: 236.3 kB / 0.959 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7579, allocations: 4.125 kB / 0.959 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7579, allocations: 5.375 kB / 0.959 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.7579, allocations: 4.031 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.7581, allocations: 47.52 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.7582, allocations: 0 / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.7583, allocations: 35.22 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.7583, allocations: 2.75 kB / 0.9591 GB, free: 4.121 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.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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/0.7584, allocations: 120.7 kB / 0.9592 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.7585, allocations: 15.89 kB / 0.9592 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.7585, allocations: 15.47 kB / 0.9592 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7585, allocations: 1.375 kB / 0.9592 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7585, allocations: 0 / 0.9592 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.7586, allocations: 5.375 kB / 0.9592 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.7588, allocations: 239.6 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7588, allocations: 1.344 kB / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.759, allocations: 45.95 kB / 0.9595 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.759, allocations: 1.156 kB / 0.9595 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.759, allocations: 5.203 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.759, allocations: 5.266 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.759, allocations: 4 kB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.7596, allocations: 326.1 kB / 0.9598 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.7597, allocations: 96.62 kB / 0.9599 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.7597, allocations: 5.406 kB / 0.9599 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.7599, allocations: 32.73 kB / 0.9599 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.76, allocations: 33.73 kB / 0.96 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.76, allocations: 3.781 kB / 0.96 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.347e-05/0.7601, allocations: 110.9 kB / 0.9601 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7601, allocations: 3.938 kB / 0.9601 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002675/0.7604, allocations: 22.84 kB / 0.9601 GB, free: 3.227 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008296/0.7612, allocations: 0.8728 MB / 0.961 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005867/0.7618, allocations: 204.5 kB / 0.9612 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7618, allocations: 0 / 0.9612 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.7621, allocations: 112.8 kB / 0.9613 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.7624, allocations: 23.77 kB / 0.9613 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.7642, allocations: 0.9115 MB / 0.9622 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.7643, allocations: 0.7063 MB / 0.9629 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.7644, allocations: 17.59 kB / 0.9629 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.7646, allocations: 41.75 kB / 0.9629 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7646, allocations: 1.188 kB / 0.9629 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.7777, allocations: 3.229 MB / 0.9661 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.7779, allocations: 184.5 kB / 0.9663 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.582, allocations: 0 / 0.9663 GB, free: 15.17 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat