Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.001016/0.001016, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001251/0.001251, allocations: 172.7 kB / 15.95 MB, free: 208 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.442/1.442, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.599/2.599, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 12 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7605/0.7609, allocations: 146.8 MB / 0.9812 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001388/0.7624, allocations: 0.5822 MB / 0.9817 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.7635, allocations: 0.8741 MB / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.7636, allocations: 7.938 kB / 0.9826 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.7636, allocations: 7.922 kB / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.7637, allocations: 3.938 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.7639, allocations: 47.94 kB / 0.9826 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.7641, allocations: 123.7 kB / 0.9828 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.7642, allocations: 45.47 kB / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.745e-05/0.7643, allocations: 31.86 kB / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.7644, allocations: 47.7 kB / 0.9829 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.7644, allocations: 4 kB / 0.9829 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/0.7644, allocations: 4 kB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.7645, allocations: 23.91 kB / 0.9829 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.7646, allocations: 41.64 kB / 0.983 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.7647, allocations: 95.75 kB / 0.983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7647, allocations: 8 kB / 0.9831 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7647, allocations: 0 / 0.9831 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.7647, allocations: 0 / 0.9831 GB, free: 4.289 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007532/0.7655, allocations: 421.3 kB / 0.9835 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.7655, allocations: 8.031 kB / 0.9835 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.7656, allocations: 50.55 kB / 0.9835 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.7656, allocations: 15.81 kB / 0.9835 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.766, allocations: 217.7 kB / 0.9837 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.766, allocations: 8 kB / 0.9837 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.766, allocations: 12 kB / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.7664, allocations: 153.5 kB / 0.9839 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.7664, allocations: 3.938 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.7665, allocations: 12 kB / 0.9839 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.7665, allocations: 4 kB / 0.9839 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.7668, allocations: 135.9 kB / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.7676, allocations: 0.5 MB / 0.9845 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.7678, allocations: 98.44 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.7679, allocations: 52.95 kB / 0.9847 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.768, allocations: 4 kB / 0.9847 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.768, allocations: 30.56 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.768, allocations: 0 / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005698/0.7686, allocations: 177.4 kB / 0.9849 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.7686, allocations: 51.41 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.7689, allocations: 191.5 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.7689, allocations: 29.7 kB / 0.9851 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.7691, allocations: 115.9 kB / 0.9853 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.7691, allocations: 31.55 kB / 0.9853 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.7692, allocations: 0 / 0.9853 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002988/0.7695, allocations: 326.8 kB / 0.9856 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.7696, allocations: 43.97 kB / 0.9856 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.7698, allocations: 51.97 kB / 0.9857 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.7699, allocations: 47.98 kB / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7699, allocations: 0 / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003058/0.7703, allocations: 165.3 kB / 0.9859 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7703, allocations: 4 kB / 0.9859 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.7703, allocations: 0 / 0.9859 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.7703, allocations: 0 / 0.9859 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.7706, allocations: 31.98 kB / 0.9859 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7706, allocations: 0 / 0.9859 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.039e-05/0.7707, allocations: 19.83 kB / 0.9859 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.7707, allocations: 8 kB / 0.9859 GB, free: 1.09 MB / 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 (13): * Single equations (assignments): 13 * 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.0001078/0.7708, allocations: 121.8 kB / 0.9861 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.7708, allocations: 19.77 kB / 0.9861 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.7712, allocations: 155.3 kB / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.7712, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7712, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7712, allocations: 4.078 kB / 0.9862 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.7718, allocations: 468.8 kB / 0.9867 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7718, allocations: 0 / 0.9867 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.772, allocations: 27.92 kB / 0.9867 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.772, allocations: 7.922 kB / 0.9867 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.772, allocations: 4 kB / 0.9867 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.772, allocations: 4 kB / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.772, allocations: 0 / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.7724, allocations: 261.9 kB / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.7725, allocations: 89.02 kB / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.7725, allocations: 0 / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.7726, allocations: 27.92 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.7727, allocations: 7.984 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.7727, allocations: 4 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001251/0.7728, allocations: 145.1 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7728, allocations: 4 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002416/0.7731, allocations: 24 kB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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.0008776/0.7739, allocations: 0.801 MB / 0.988 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.7742, allocations: 107.9 kB / 0.9881 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7743, allocations: 0 / 0.9881 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.7744, allocations: 59.89 kB / 0.9882 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.7747, allocations: 12.19 kB / 0.9882 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.7765, allocations: 0.8689 MB / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.7769, allocations: 0.7084 MB / 0.9898 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.179e-05/0.7769, allocations: 13.27 kB / 0.9898 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.777, allocations: 35.44 kB / 0.9898 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of SimCode: time 1.823e-06/0.777, allocations: 7.938 kB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.7902, allocations: 2.466 MB / 0.9922 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.7905, allocations: 194.7 kB / 0.9924 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.565, allocations: 0 / 0.9924 GB, free: 10.33 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat does not exist to compare? outputFormat=mat