Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001121/0.001121, allocations: 99.62 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.001247/0.001247, allocations: 177.3 kB / 15.95 MB, free: 216 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.594/1.594, allocations: 223.2 MB / 239.9 MB, free: 5.387 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.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004147, allocations: 15.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7834/0.7838, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.000948/0.7848, allocations: 0.5694 MB / 0.9542 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.7858, allocations: 0.8716 MB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.7859, allocations: 9.375 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.739e-05/0.786, allocations: 13.45 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.7861, allocations: 25.55 kB / 0.9551 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.7863, allocations: 29.25 kB / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.7864, allocations: 79.92 kB / 0.9552 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.7866, allocations: 48.67 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.7867, allocations: 44.08 kB / 0.9553 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.7868, allocations: 69.55 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.7868, allocations: 9.156 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.155e-05/0.7869, allocations: 5.594 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.7869, allocations: 30.34 kB / 0.9554 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.787, allocations: 48.45 kB / 0.9554 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.7871, allocations: 115.2 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.7871, allocations: 0 / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7871, allocations: 1.438 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.7871, allocations: 0 / 0.9555 GB, free: 6.586 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000896/0.788, allocations: 0.5134 MB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7881, allocations: 9.156 kB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.7881, allocations: 37.09 kB / 0.9561 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.7882, allocations: 20.05 kB / 0.9561 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.7884, allocations: 221.9 kB / 0.9563 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.7884, allocations: 4.25 kB / 0.9563 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.7884, allocations: 9.594 kB / 0.9563 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.789, allocations: 208.2 kB / 0.9565 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.789, allocations: 0 / 0.9565 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.7891, allocations: 5.188 kB / 0.9565 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.7891, allocations: 2.438 kB / 0.9565 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000796/0.7899, allocations: 275 kB / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009563/0.7908, allocations: 0.5385 MB / 0.9573 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.7913, allocations: 178.7 kB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.7913, allocations: 1.578 kB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.7913, allocations: 43.84 kB / 0.9575 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.7913, allocations: 0 / 0.9575 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.00124/0.7926, allocations: 443.3 kB / 0.9579 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.7926, allocations: 52.56 kB / 0.958 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.7928, allocations: 182.7 kB / 0.9582 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.7928, allocations: 27.08 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.7929, allocations: 126.7 kB / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.7929, allocations: 31.77 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.7929, allocations: 1.375 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.793, allocations: 325.6 kB / 0.9587 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.7934, allocations: 127.6 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.7937, allocations: 133 kB / 0.9589 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.7941, allocations: 139.9 kB / 0.959 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7941, allocations: 0 / 0.959 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008226/0.7949, allocations: 314.4 kB / 0.9593 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.795, allocations: 10.23 kB / 0.9593 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.795, allocations: 0 / 0.9593 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.795, allocations: 0.6875 kB / 0.9593 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.7953, allocations: 65.05 kB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7953, allocations: 0 / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.7955, allocations: 54.58 kB / 0.9595 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.7956, allocations: 5.453 kB / 0.9595 GB, free: 3.766 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001008/0.7957, allocations: 124.2 kB / 0.9596 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.7957, allocations: 14.17 kB / 0.9596 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.7958, allocations: 25.55 kB / 0.9596 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7958, allocations: 5.75 kB / 0.9596 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.7958, allocations: 0 / 0.9596 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7958, allocations: 0 / 0.9596 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.7961, allocations: 257.2 kB / 0.9599 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7961, allocations: 0 / 0.9599 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.7963, allocations: 60.64 kB / 0.9599 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7964, allocations: 0.9688 kB / 0.9599 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.7964, allocations: 1.031 kB / 0.9599 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7964, allocations: 3.953 kB / 0.9599 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7964, allocations: 1 kB / 0.9599 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008717/0.7973, allocations: 413.4 kB / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.7973, allocations: 92.8 kB / 0.9604 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.7973, allocations: 1.031 kB / 0.9604 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.7976, allocations: 45.8 kB / 0.9605 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.7977, allocations: 20.7 kB / 0.9605 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.7977, allocations: 6.031 kB / 0.9605 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.305e-05/0.7978, allocations: 136.2 kB / 0.9606 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7978, allocations: 1.406 kB / 0.9606 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002574/0.798, allocations: 29.75 kB / 0.9606 GB, free: 2.824 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.00113/0.7992, allocations: 0.9433 MB / 0.9616 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008391/0.8, allocations: 275.2 kB / 0.9618 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8, allocations: 4 kB / 0.9618 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.8005, allocations: 145.3 kB / 0.962 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.8007, allocations: 27.66 kB / 0.962 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.803, allocations: 1.178 MB / 0.9632 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.8032, allocations: 0.7331 MB / 0.9639 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.361e-05/0.8033, allocations: 22.91 kB / 0.9639 GB, free: 380 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.8034, allocations: 39.23 kB / 0.9639 GB, free: 344 kB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.8034, allocations: 0 / 0.9639 GB, free: 344 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.8169, allocations: 3.008 MB / 0.9669 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.8171, allocations: 191.1 kB / 0.967 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.501, allocations: 1.062 kB / 0.967 GB, free: 14.7 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat