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.001243/0.001242, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.00156/0.00156, allocations: 177.3 kB / 15.94 MB, free: 228 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.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.242 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.456/2.456, allocations: 390.3 MB / 0.6653 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7368, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.0008973/0.7377, allocations: 0.5409 MB / 0.9541 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008307/0.7386, allocations: 0.8898 MB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.7386, allocations: 1.375 kB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.981e-05/0.7387, allocations: 7.922 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.7388, allocations: 14.7 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.739, allocations: 54.69 kB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.7391, allocations: 68.62 kB / 0.9551 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.7392, allocations: 32.91 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.7393, allocations: 44.97 kB / 0.9552 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.7394, allocations: 70.56 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.7395, allocations: 4.562 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.233e-05/0.7395, allocations: 5.469 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.7395, allocations: 29.89 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.7396, allocations: 38.67 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.891e-05/0.7397, allocations: 92.64 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.7397, allocations: 0 / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7397, allocations: 1.031 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.7397, allocations: 0 / 0.9554 GB, free: 6.602 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.000729/0.7404, allocations: 443.6 kB / 0.9559 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7405, allocations: 9.719 kB / 0.9559 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.7405, allocations: 49.02 kB / 0.9559 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.7406, allocations: 10.62 kB / 0.9559 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.7408, allocations: 195.7 kB / 0.9561 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.7408, allocations: 8.031 kB / 0.9561 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.7408, allocations: 13.41 kB / 0.9561 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.7413, allocations: 166.7 kB / 0.9563 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7413, allocations: 3.938 kB / 0.9563 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.7413, allocations: 5.5 kB / 0.9563 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.7413, allocations: 1.469 kB / 0.9563 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.7419, allocations: 191.5 kB / 0.9565 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.7425, allocations: 413.6 kB / 0.9569 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.7433, allocations: 188.3 kB / 0.9571 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.7433, allocations: 9.328 kB / 0.9571 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.7434, allocations: 35.97 kB / 0.9571 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.7434, allocations: 0 / 0.9571 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0009853/0.7444, allocations: 328.7 kB / 0.9574 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.7444, allocations: 53.31 kB / 0.9575 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.7445, allocations: 146.1 kB / 0.9576 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.7445, allocations: 25.7 kB / 0.9576 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.7446, allocations: 113 kB / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.7446, allocations: 35.47 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.7446, allocations: 4 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.7447, allocations: 326 kB / 0.9581 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.745, allocations: 89.17 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.7453, allocations: 93.89 kB / 0.9583 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.7456, allocations: 89.19 kB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7456, allocations: 1.281 kB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006152/0.7462, allocations: 234.5 kB / 0.9586 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7462, allocations: 9.578 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7462, allocations: 0 / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7463, allocations: 1.438 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.7465, allocations: 50.48 kB / 0.9586 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7465, allocations: 0 / 0.9586 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.7467, allocations: 27.16 kB / 0.9587 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.7467, allocations: 7.547 kB / 0.9587 GB, free: 4.059 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 9.141e-05/0.7468, allocations: 124.6 kB / 0.9588 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.7469, allocations: 15.88 kB / 0.9588 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.7469, allocations: 19.42 kB / 0.9588 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.7469, allocations: 1.375 kB / 0.9588 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7469, allocations: 7.984 kB / 0.9588 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7469, allocations: 5.312 kB / 0.9588 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.7472, allocations: 227.8 kB / 0.9591 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7472, allocations: 0 / 0.9591 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.7474, allocations: 51.52 kB / 0.9591 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7474, allocations: 1.375 kB / 0.9591 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7474, allocations: 9.344 kB / 0.9591 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7474, allocations: 3.953 kB / 0.9591 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.7474, allocations: 0 / 0.9591 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.7481, allocations: 335 kB / 0.9594 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.7481, allocations: 91.61 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.7482, allocations: 1.375 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.7484, allocations: 33.84 kB / 0.9596 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.7485, allocations: 33.53 kB / 0.9596 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.7485, allocations: 2.75 kB / 0.9596 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.7485, allocations: 116.6 kB / 0.9597 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7485, allocations: 0 / 0.9597 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002475/0.7488, allocations: 19.12 kB / 0.9597 GB, free: 3.16 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.0008446/0.7496, allocations: 0.8684 MB / 0.9606 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006194/0.7503, allocations: 204.4 kB / 0.9608 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7503, allocations: 0.9688 kB / 0.9608 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.7506, allocations: 124.5 kB / 0.9609 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.7508, allocations: 15.78 kB / 0.9609 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.7526, allocations: 0.9129 MB / 0.9618 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.7527, allocations: 0.7082 MB / 0.9625 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.7529, allocations: 24.45 kB / 0.9625 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.753, allocations: 43.09 kB / 0.9625 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.753, allocations: 0 / 0.9625 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.7677, allocations: 3.198 MB / 0.9657 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.7679, allocations: 183.6 kB / 0.9658 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.513, allocations: 4 kB / 0.9658 GB, free: 15.1 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