Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.001458/0.001458, allocations: 99.86 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.001637/0.001637, 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.743/1.743, allocations: 223.2 MB / 239.9 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 3.084/3.084, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005633/0.0005634, allocations: 12 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.049, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.00103/1.05, allocations: 422.4 kB / 0.9813 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001/1.051, allocations: 0.8025 MB / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/1.051, allocations: 0 / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/1.051, allocations: 4 kB / 0.9821 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/1.051, allocations: 3.984 kB / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.082e-05/1.051, allocations: 7.984 kB / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.47e-05/1.051, allocations: 27.91 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/1.052, allocations: 12 kB / 0.9821 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.226e-05/1.052, allocations: 15.98 kB / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/1.052, allocations: 11.92 kB / 0.9822 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/1.052, allocations: 0 / 0.9822 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/1.052, allocations: 4 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/1.052, allocations: 15.91 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/1.052, allocations: 29.7 kB / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.741e-05/1.052, allocations: 23.94 kB / 0.9822 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.052, allocations: 0 / 0.9822 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.839e-06/1.052, allocations: 4 kB / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.16e-06/1.052, allocations: 3.938 kB / 0.9822 GB, free: 4.867 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006049/1.053, allocations: 365.5 kB / 0.9826 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.053, allocations: 8.031 kB / 0.9826 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/1.053, allocations: 34.56 kB / 0.9826 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/1.053, allocations: 11.89 kB / 0.9826 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.053, allocations: 163.1 kB / 0.9828 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/1.053, allocations: 7.938 kB / 0.9828 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/1.053, allocations: 4 kB / 0.9828 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/1.053, allocations: 77.61 kB / 0.9829 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.053, allocations: 4 kB / 0.9829 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/1.053, allocations: 0 / 0.9829 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.053, allocations: 4 kB / 0.9829 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/1.054, allocations: 83.92 kB / 0.983 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/1.054, allocations: 268.9 kB / 0.9832 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/1.054, allocations: 78.42 kB / 0.9833 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/1.054, allocations: 3.938 kB / 0.9833 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/1.054, allocations: 30.56 kB / 0.9833 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.054, allocations: 0 / 0.9833 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005727/1.055, allocations: 161.7 kB / 0.9835 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/1.055, allocations: 55.34 kB / 0.9835 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/1.055, allocations: 109.8 kB / 0.9836 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/1.055, allocations: 25.7 kB / 0.9837 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/1.055, allocations: 92.12 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/1.055, allocations: 15.73 kB / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/1.055, allocations: 0 / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.055, allocations: 314.8 kB / 0.9841 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/1.055, allocations: 43.95 kB / 0.9841 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/1.056, allocations: 43.97 kB / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/1.056, allocations: 43.95 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.056, allocations: 0 / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000353/1.056, allocations: 125.6 kB / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.056, allocations: 4 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.056, allocations: 0 / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.056, allocations: 336 / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/1.056, allocations: 27.92 kB / 0.9843 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.056, allocations: 0 / 0.9843 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/1.056, allocations: 23.92 kB / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/1.056, allocations: 3.984 kB / 0.9844 GB, free: 2.453 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 (3): * Single equations (assignments): 3 * 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.0001012/1.057, allocations: 109.8 kB / 0.9845 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/1.057, allocations: 7.859 kB / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/1.057, allocations: 11.89 kB / 0.9845 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/1.057, allocations: 4 kB / 0.9845 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.057, allocations: 0 / 0.9845 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.057, allocations: 0 / 0.9845 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/1.057, allocations: 169.6 kB / 0.9847 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.057, allocations: 4 kB / 0.9847 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/1.057, allocations: 19.98 kB / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.057, allocations: 0 / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/1.057, allocations: 3.953 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.057, allocations: 0 / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.057, allocations: 0 / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/1.057, allocations: 215.4 kB / 0.9849 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/1.057, allocations: 89 kB / 0.985 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/1.057, allocations: 4 kB / 0.985 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.058, allocations: 19.94 kB / 0.985 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/1.058, allocations: 3.984 kB / 0.985 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/1.058, allocations: 0 / 0.985 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.893e-05/1.058, allocations: 91.22 kB / 0.9851 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.058, allocations: 0 / 0.9851 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002193/1.058, allocations: 8 kB / 0.9851 GB, free: 1.609 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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.0008685/1.059, allocations: 0.7437 MB / 0.9858 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004075/1.059, allocations: 95.86 kB / 0.9859 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.059, allocations: 0 / 0.9859 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/1.059, allocations: 47.97 kB / 0.986 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/1.06, allocations: 13.31 kB / 0.986 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/1.06, allocations: 171.5 kB / 0.9861 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/1.061, allocations: 0.6848 MB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.71e-05/1.061, allocations: 0 / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/1.061, allocations: 15.44 kB / 0.9868 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of SimCode: time 7.12e-07/1.061, allocations: 0 / 0.9868 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/1.082, allocations: 1.283 MB / 0.9881 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004112/1.082, allocations: 190.4 kB / 0.9883 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.792, allocations: 3.25 kB / 0.9883 GB, free: 14.38 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat does not exist to compare? outputFormat=mat