Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001619/0.001619, allocations: 172.9 kB / 366.7 MB, free: 1.617 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.068/2.068, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0009963/0.0009964, allocations: 87.42 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.075e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.7545, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.951, allocations: 137.8 MB / 1.108 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.9514, allocations: 69.56 kB / 1.108 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00173/0.9531, allocations: 0.6351 MB / 1.109 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9531, allocations: 0.5938 kB / 1.109 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.9531, allocations: 0 / 1.109 GB, free: 11.68 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003478/0.9535, allocations: 330.3 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.9536, allocations: 12.66 kB / 1.109 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.9536, allocations: 4 kB / 1.109 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.9537, allocations: 175.6 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.9538, allocations: 0.875 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.9538, allocations: 0 / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.399e-05/0.9538, allocations: 4 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.44e-05/0.9539, allocations: 54.59 kB / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.9539, allocations: 0 / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.954, allocations: 0 / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.954, allocations: 0.5 kB / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.9544, allocations: 248 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.522e-05/0.9545, allocations: 25.45 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.9545, allocations: 8.969 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.9546, allocations: 7.016 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.9546, allocations: 34.5 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9546, allocations: 0 / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001807/0.9548, allocations: 37.7 kB / 1.11 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.9549, allocations: 55.41 kB / 1.11 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.9549, allocations: 93.56 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.955, allocations: 28.55 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.955, allocations: 84.12 kB / 1.11 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.9551, allocations: 3.906 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.9551, allocations: 0 / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9552, allocations: 318.8 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.9552, allocations: 0 / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.9552, allocations: 9.281 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.226e-05/0.9553, allocations: 7.953 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9553, allocations: 0 / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.633e-05/0.9554, allocations: 47.16 kB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9554, allocations: 4 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.9554, allocations: 2.062 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.9554, allocations: 6.344 kB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.9555, allocations: 15.73 kB / 1.11 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.9555, allocations: 0 / 1.11 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.9556, allocations: 4 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.9556, allocations: 4.875 kB / 1.11 GB, free: 9.93 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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 7.307e-05/0.9557, allocations: 107.8 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.756e-05/0.9558, allocations: 45.59 kB / 1.11 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.9558, allocations: 4 kB / 1.11 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.9559, allocations: 49.38 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.9559, allocations: 0 / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.9559, allocations: 2.953 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.956, allocations: 2.938 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.9561, allocations: 138.2 kB / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9561, allocations: 0 / 1.11 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.9562, allocations: 11.98 kB / 1.111 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.9562, allocations: 0 / 1.111 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.9562, allocations: 3.188 kB / 1.111 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9562, allocations: 7.547 kB / 1.111 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.9562, allocations: 0 / 1.111 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.9564, allocations: 138.7 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.9564, allocations: 81.11 kB / 1.111 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.9564, allocations: 3.938 kB / 1.111 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.9565, allocations: 7.984 kB / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.9566, allocations: 4.219 kB / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.9566, allocations: 4 kB / 1.111 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.9566, allocations: 83.47 kB / 1.111 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9566, allocations: 0 / 1.111 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001975/0.9568, allocations: 3.906 kB / 1.111 GB, free: 9.168 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.000437/0.9573, allocations: 0.6761 MB / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.9574, allocations: 12 kB / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9574, allocations: 0 / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.9574, allocations: 11.94 kB / 1.112 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.9576, allocations: 3.984 kB / 1.112 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.958, allocations: 100.2 kB / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.9583, allocations: 0.6768 MB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.9583, allocations: 8.266 kB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.9583, allocations: 7.438 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of SimCode: time 3.3e-07/0.9584, allocations: 0 / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.9762, allocations: 0.6911 MB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.9764, allocations: 142.5 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.459, allocations: 0 / 1.113 GB, free: 6.746 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)