Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.89/2.89, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 165 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.00109, allocations: 99.03 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.635e-05/8.651e-05, allocations: 8 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8371/0.8372, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.245/1.082, allocations: 136.6 MB / 1.097 GB, free: 3.953 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.083, allocations: 71.95 kB / 1.097 GB, free: 3.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003209/1.086, allocations: 0.7973 MB / 1.098 GB, free: 3.109 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.482e-06/1.086, allocations: 0.5938 kB / 1.098 GB, free: 3.109 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.455e-06/1.086, allocations: 0 / 1.098 GB, free: 3.109 MB / 0.698 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.0006076/1.087, allocations: 371.8 kB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.087, allocations: 8.594 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/1.087, allocations: 9.109 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.087, allocations: 163.8 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.087, allocations: 4 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/1.087, allocations: 0.6875 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/1.087, allocations: 23.84 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/1.087, allocations: 37.69 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/1.087, allocations: 6.734 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.087, allocations: 0.5625 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.087, allocations: 0.8125 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00067/1.088, allocations: 289.8 kB / 1.099 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/1.088, allocations: 31.7 kB / 1.099 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/1.088, allocations: 16.86 kB / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/1.088, allocations: 96 / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.207e-05/1.088, allocations: 35.67 kB / 1.099 GB, free: 2.004 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/1.088, allocations: 0 / 1.099 GB, free: 2.004 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002058/1.088, allocations: 46.42 kB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/1.088, allocations: 57.09 kB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/1.089, allocations: 101 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/1.089, allocations: 25.7 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/1.089, allocations: 84.14 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/1.089, allocations: 14.75 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/1.089, allocations: 0 / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.089, allocations: 322.8 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/1.089, allocations: 9.312 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/1.089, allocations: 8 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/1.089, allocations: 9.219 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.089, allocations: 4 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001222/1.089, allocations: 45.69 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.089, allocations: 8 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.089, allocations: 0 / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.089, allocations: 0 / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/1.089, allocations: 23.92 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.089, allocations: 0 / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/1.09, allocations: 23.92 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/1.09, allocations: 0 / 1.099 GB, free: 1.195 MB / 0.698 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 () * 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 8.545e-05/1.09, allocations: 112.7 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001319/1.09, allocations: 53.61 kB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/1.09, allocations: 2.062 kB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/1.09, allocations: 12.33 kB / 1.1 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.09, allocations: 4 kB / 1.1 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.09, allocations: 0 / 1.1 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/1.09, allocations: 4 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/1.09, allocations: 146.2 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.09, allocations: 2.125 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/1.09, allocations: 15.98 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/1.09, allocations: 4 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.09, allocations: 0.9844 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.09, allocations: 0 / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.09, allocations: 0 / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/1.091, allocations: 159.3 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/1.091, allocations: 77.11 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/1.091, allocations: 7.359 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/1.091, allocations: 15.98 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/1.091, allocations: 4 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/1.091, allocations: 4.703 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.478e-05/1.091, allocations: 87.27 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.091, allocations: 0 / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003011/1.091, allocations: 11.94 kB / 1.1 GB, free: 416 kB / 0.698 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 () * 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.0005631/1.092, allocations: 0.6888 MB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001615/1.092, allocations: 24 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.092, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/1.092, allocations: 12 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/1.093, allocations: 12.84 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/1.093, allocations: 100.5 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/1.093, allocations: 0.6846 MB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.094e-05/1.093, allocations: 4 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/1.094, allocations: 15.44 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/1.094, allocations: 0 / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/1.134, allocations: 0.9664 MB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/1.134, allocations: 153 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.426, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)