Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.516/1.516, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 183.7 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 0.5777 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007914/0.0007914, allocations: 97.22 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003244, allocations: 12.56 kB / 0.7965 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.254, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001238/0.2553, allocations: 1.093 MB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002121/0.2555, allocations: 109.8 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.2555, allocations: 0 / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.885e-06/0.2556, allocations: 4 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/0.2556, allocations: 0 / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.2557, allocations: 0 / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.785e-05/0.2558, allocations: 23.92 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.2558, allocations: 11.98 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.2558, allocations: 3.938 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.2559, allocations: 15.97 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.2559, allocations: 0 / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.2559, allocations: 4 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-06/0.2559, allocations: 0 / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.2559, allocations: 29.64 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.236e-05/0.256, allocations: 15.97 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.256, allocations: 0 / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.62e-07/0.256, allocations: 0 / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.256, allocations: 3.938 kB / 0.9016 GB, free: 62.84 MB / 0.6042 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.0002697/0.2563, allocations: 335.4 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.2563, allocations: 12.03 kB / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.917e-05/0.2563, allocations: 34.56 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.41e-05/0.2564, allocations: 3.938 kB / 0.902 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.174e-05/0.2564, allocations: 175.2 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.2564, allocations: 0 / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.2565, allocations: 0 / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2566, allocations: 53.69 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.598e-06/0.2566, allocations: 3.984 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.2566, allocations: 3.984 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2566, allocations: 0 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.2568, allocations: 47.91 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.257, allocations: 252.8 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.2571, allocations: 42.59 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.2572, allocations: 28.91 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.2572, allocations: 4 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.2573, allocations: 34.5 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2573, allocations: 0 / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003109/0.2576, allocations: 93.64 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.2576, allocations: 59.41 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.759e-05/0.2577, allocations: 105.8 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2577, allocations: 25.7 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.2577, allocations: 88.27 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.2577, allocations: 3.906 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.2577, allocations: 0 / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.2578, allocations: 314.8 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.2579, allocations: 23.97 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.258, allocations: 23.98 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.2581, allocations: 23.92 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2581, allocations: 0 / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.2583, allocations: 77.72 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2583, allocations: 8 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2583, allocations: 0 / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2583, allocations: 0 / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.2584, allocations: 15.98 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.2584, allocations: 0 / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.2585, allocations: 12.03 kB / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2585, allocations: 3.953 kB / 0.9034 GB, free: 60.74 MB / 0.6042 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 (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.387e-05/0.2586, allocations: 113.8 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.2586, allocations: 11.84 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.2589, allocations: 80.72 kB / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2589, allocations: 7.938 kB / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2589, allocations: 0 / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2589, allocations: 0 / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.259, allocations: 157.6 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.259, allocations: 0 / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.2591, allocations: 11.98 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2591, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.2591, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2591, allocations: 8.031 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2591, allocations: 0 / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2593, allocations: 175.4 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.2594, allocations: 81.14 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.2594, allocations: 3.984 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.2595, allocations: 8 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2595, allocations: 0 / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.2595, allocations: 3.984 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.2595, allocations: 83.28 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2596, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001895/0.2597, allocations: 4 kB / 0.9042 GB, free: 59.9 MB / 0.6042 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 (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.0004382/0.2602, allocations: 0.7086 MB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.2604, allocations: 51.89 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2604, allocations: 0 / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.2605, allocations: 28.05 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.2608, allocations: 7.938 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.2611, allocations: 142.2 kB / 0.9051 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2613, allocations: 0.677 MB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.2613, allocations: 336 / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.2613, allocations: 11.5 kB / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2613, allocations: 0 / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.2738, allocations: 1.03 MB / 0.9067 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.2741, allocations: 199.3 kB / 0.9069 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.905, allocations: 4.062 kB / 0.9069 GB, free: 57.07 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)