Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.001433/0.001433, 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.00183/0.00183, 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.768/1.768, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.96/2.96, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 12 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7476, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001516/0.7492, allocations: 0.5747 MB / 0.9814 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.7508, allocations: 0.8741 MB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.672e-05/0.7509, allocations: 4 kB / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.7511, allocations: 7.922 kB / 0.9823 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.7512, allocations: 27.89 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.7514, allocations: 27.97 kB / 0.9824 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.7516, allocations: 87.77 kB / 0.9824 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.7519, allocations: 41.52 kB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.752, allocations: 43.83 kB / 0.9825 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.7522, allocations: 71.73 kB / 0.9826 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.7522, allocations: 8 kB / 0.9826 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.7523, allocations: 4 kB / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.7523, allocations: 35.83 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/0.7524, allocations: 45.64 kB / 0.9827 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.7527, allocations: 121.9 kB / 0.9828 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7527, allocations: 4 kB / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.776e-06/0.7527, allocations: 0 / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.7527, allocations: 0 / 0.9828 GB, free: 4.316 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001255/0.754, allocations: 0.5065 MB / 0.9833 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/0.754, allocations: 8.031 kB / 0.9833 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.039e-05/0.7541, allocations: 42.56 kB / 0.9833 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.7542, allocations: 19.72 kB / 0.9834 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.7545, allocations: 206.8 kB / 0.9836 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.7546, allocations: 8 kB / 0.9836 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.7546, allocations: 8 kB / 0.9836 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.7555, allocations: 210.9 kB / 0.9838 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7555, allocations: 0 / 0.9838 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.7555, allocations: 4 kB / 0.9838 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.7556, allocations: 4 kB / 0.9838 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.7568, allocations: 275.8 kB / 0.9841 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.7581, allocations: 0.5472 MB / 0.9846 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.7586, allocations: 182.4 kB / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.7586, allocations: 0 / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.7586, allocations: 30.56 kB / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.7586, allocations: 0 / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.00132/0.76, allocations: 445.4 kB / 0.9852 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.76, allocations: 51.41 kB / 0.9853 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.7602, allocations: 179.5 kB / 0.9854 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.7602, allocations: 30.08 kB / 0.9855 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.7603, allocations: 127.9 kB / 0.9856 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.7604, allocations: 31.55 kB / 0.9856 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.7604, allocations: 0 / 0.9856 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7606, allocations: 330.8 kB / 0.9859 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.7609, allocations: 127.9 kB / 0.9861 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.7614, allocations: 135.8 kB / 0.9862 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.7618, allocations: 135.9 kB / 0.9863 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7618, allocations: 3.953 kB / 0.9863 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008259/0.7626, allocations: 313.3 kB / 0.9866 GB, free: 192 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7626, allocations: 4 kB / 0.9866 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7626, allocations: 0 / 0.9866 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7627, allocations: 4 kB / 0.9866 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.763, allocations: 59.94 kB / 0.9867 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.763, allocations: 3.984 kB / 0.9867 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.7632, allocations: 51.86 kB / 0.9867 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.7632, allocations: 11.98 kB / 0.9867 GB, free: 56 kB / 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: 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.0001292/0.7633, allocations: 117.8 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.7634, allocations: 27.75 kB / 0.9869 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.7634, allocations: 21.41 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7635, allocations: 0 / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7635, allocations: 0 / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7635, allocations: 0 / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.7637, allocations: 249.5 kB / 0.9871 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7637, allocations: 0 / 0.9871 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.764, allocations: 67.84 kB / 0.9872 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.764, allocations: 3.938 kB / 0.9872 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.764, allocations: 4 kB / 0.9872 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.764, allocations: 0 / 0.9872 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.764, allocations: 4.266 kB / 0.9872 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.7649, allocations: 415 kB / 0.9876 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.765, allocations: 88.95 kB / 0.9877 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.765, allocations: 7.953 kB / 0.9877 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.7653, allocations: 43.95 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.7653, allocations: 15.97 kB / 0.9878 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.7653, allocations: 4 kB / 0.9878 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.609e-05/0.7654, allocations: 127.2 kB / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7655, allocations: 0 / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002484/0.7657, allocations: 27.91 kB / 0.9879 GB, free: 14.76 MB / 0.7481 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.001145/0.7669, allocations: 0.9425 MB / 0.9888 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008325/0.7677, allocations: 283.7 kB / 0.9891 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7677, allocations: 0 / 0.9891 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.7681, allocations: 143.8 kB / 0.9892 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.7684, allocations: 28.62 kB / 0.9893 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.7707, allocations: 1.183 MB / 0.9904 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.771, allocations: 0.7355 MB / 0.9911 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.323e-05/0.7711, allocations: 20.41 kB / 0.9912 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.7712, allocations: 39.42 kB / 0.9912 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7712, allocations: 0 / 0.9912 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2581/1.029, allocations: 3.004 MB / 0.9941 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004056/1.03, allocations: 195.9 kB / 0.9943 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.426, allocations: 0 / 0.9943 GB, free: 8.219 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat