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.00104/0.00104, allocations: 84.38 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.001285/0.001285, 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.556/1.556, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.66/2.66, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003544, allocations: 12 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8547/0.855, allocations: 146.8 MB / 0.9812 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001157/0.8562, allocations: 0.5667 MB / 0.9817 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.8574, allocations: 0.8741 MB / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.8575, allocations: 4 kB / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.8576, allocations: 19.8 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.8577, allocations: 19.8 kB / 0.9826 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.8579, allocations: 35.91 kB / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.8581, allocations: 115.6 kB / 0.9828 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.8583, allocations: 45.5 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.8584, allocations: 43.84 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.8586, allocations: 71.73 kB / 0.9829 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.8587, allocations: 4 kB / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.412e-05/0.8587, allocations: 8 kB / 0.9829 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.8588, allocations: 31.84 kB / 0.983 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.8588, allocations: 45.64 kB / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.859, allocations: 118 kB / 0.9831 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.8591, allocations: 0 / 0.9831 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.534e-06/0.8591, allocations: 4 kB / 0.9831 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8591, allocations: 0 / 0.9831 GB, free: 4.234 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.0009835/0.8601, allocations: 0.5025 MB / 0.9836 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.8601, allocations: 12.03 kB / 0.9836 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.8602, allocations: 42.55 kB / 0.9837 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.8602, allocations: 27.66 kB / 0.9837 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.8605, allocations: 206.8 kB / 0.9839 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.8605, allocations: 8 kB / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.8606, allocations: 8 kB / 0.9839 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.8611, allocations: 210.9 kB / 0.9841 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.8611, allocations: 3.984 kB / 0.9841 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.8612, allocations: 4 kB / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.8612, allocations: 4 kB / 0.9841 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007419/0.8619, allocations: 279.7 kB / 0.9844 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.8631, allocations: 0.5394 MB / 0.9849 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.8635, allocations: 174.5 kB / 0.9851 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.8639, allocations: 144.7 kB / 0.9852 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.864, allocations: 4 kB / 0.9852 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.864, allocations: 34.56 kB / 0.9852 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.864, allocations: 4 kB / 0.9852 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.001201/0.8652, allocations: 437.7 kB / 0.9857 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.8653, allocations: 55.41 kB / 0.9857 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.8655, allocations: 182.8 kB / 0.9859 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.8656, allocations: 29.8 kB / 0.9859 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.8657, allocations: 131.8 kB / 0.986 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.8657, allocations: 31.55 kB / 0.9861 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.8657, allocations: 0 / 0.9861 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8659, allocations: 326.8 kB / 0.9864 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.8662, allocations: 131.9 kB / 0.9865 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.8666, allocations: 127.9 kB / 0.9866 GB, free: 412 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.8669, allocations: 139.8 kB / 0.9868 GB, free: 272 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8669, allocations: 0 / 0.9868 GB, free: 272 kB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007621/0.8677, allocations: 309.3 kB / 0.9871 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.8677, allocations: 4 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.8677, allocations: 7.922 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.8678, allocations: 4 kB / 0.9871 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.8681, allocations: 55.95 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.8681, allocations: 0 / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.8683, allocations: 43.86 kB / 0.9872 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.8684, allocations: 8 kB / 0.9872 GB, free: 15.84 MB / 0.7481 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.0001273/0.8685, allocations: 137.7 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.8685, allocations: 15.81 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.8686, allocations: 25.39 kB / 0.9874 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8686, allocations: 0 / 0.9874 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.8686, allocations: 0 / 0.9874 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.8686, allocations: 4 kB / 0.9874 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.869, allocations: 241.5 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.869, allocations: 3.953 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.8692, allocations: 63.95 kB / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8693, allocations: 288 / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.8693, allocations: 0 / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8693, allocations: 0 / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8693, allocations: 3.938 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.8701, allocations: 415.1 kB / 0.988 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.8702, allocations: 96.89 kB / 0.9881 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.8702, allocations: 4 kB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.8704, allocations: 47.95 kB / 0.9882 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.8705, allocations: 11.98 kB / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.8705, allocations: 0 / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001046/0.8706, allocations: 131.2 kB / 0.9883 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8707, allocations: 4 kB / 0.9883 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002428/0.8709, allocations: 27.91 kB / 0.9884 GB, free: 14.54 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.001176/0.8721, allocations: 0.9502 MB / 0.9893 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000815/0.8729, allocations: 275.8 kB / 0.9895 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8729, allocations: 0 / 0.9895 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.8733, allocations: 143.8 kB / 0.9897 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.8736, allocations: 28.67 kB / 0.9897 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.876, allocations: 1.198 MB / 0.9909 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.8765, allocations: 0.7238 MB / 0.9916 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.794e-05/0.8766, allocations: 24.42 kB / 0.9916 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.8767, allocations: 39.42 kB / 0.9917 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.8767, allocations: 0 / 0.9917 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.8901, allocations: 3.022 MB / 0.9946 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.8903, allocations: 198.4 kB / 0.9948 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.694, allocations: 0 / 0.9948 GB, free: 7.973 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