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.425/1.425, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009799/0.0009798, allocations: 176.3 kB / 327 MB, free: 2.113 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.778/1.778, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007753/0.0007756, allocations: 82.38 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003617, allocations: 11.97 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2375, allocations: 106.4 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001844/0.2394, allocations: 1.094 MB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003592/0.2398, allocations: 120.5 kB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.2399, allocations: 0 / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.2399, allocations: 0 / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.573e-05/0.24, allocations: 7.922 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.2401, allocations: 4 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.887e-05/0.2402, allocations: 19.98 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2403, allocations: 0 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.2404, allocations: 19.86 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.2405, allocations: 11.98 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2405, allocations: 0 / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.2406, allocations: 3.938 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.2406, allocations: 11.94 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.2406, allocations: 29.69 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.2408, allocations: 19.91 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.2408, allocations: 0 / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2408, allocations: 0 / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2408, allocations: 0 / 0.9022 GB, free: 62.02 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.0004175/0.2412, allocations: 335.6 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.2413, allocations: 12.03 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.2413, allocations: 34.75 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.2414, allocations: 0.9375 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2415, allocations: 168.6 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2415, allocations: 384 / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2415, allocations: 4.359 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.2417, allocations: 58.23 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2417, allocations: 3.938 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2418, allocations: 3.938 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2418, allocations: 4 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.242, allocations: 43.95 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.2423, allocations: 252.8 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2424, allocations: 46.53 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.2425, allocations: 36.91 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2426, allocations: 3.984 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2426, allocations: 34.5 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2426, allocations: 0 / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003628/0.243, allocations: 93.64 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.243, allocations: 59.41 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.369e-05/0.2431, allocations: 97.84 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.2431, allocations: 25.7 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.2431, allocations: 84.14 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.2432, allocations: 12.03 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.2432, allocations: 0 / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.2432, allocations: 310.8 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.2433, allocations: 19.98 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.2434, allocations: 27.91 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2436, allocations: 48.89 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2436, allocations: 3.938 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.2438, allocations: 81.66 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2438, allocations: 10.5 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2438, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2438, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.619e-05/0.2439, allocations: 15.98 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2439, allocations: 3.938 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.244, allocations: 12.03 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.244, allocations: 0 / 0.9041 GB, free: 59.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.244, allocations: 113.8 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.2441, allocations: 11.84 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.2443, allocations: 80.78 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2443, allocations: 4 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2443, allocations: 0 / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2443, allocations: 0 / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2445, allocations: 157.6 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.2445, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.2445, allocations: 11.98 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2446, allocations: 32 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.2446, allocations: 7.938 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2446, allocations: 0 / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2446, allocations: 4 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.2448, allocations: 179.4 kB / 0.9047 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.2449, allocations: 81.09 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2449, allocations: 0 / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.2449, allocations: 8 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.245, allocations: 4.172 kB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.245, allocations: 0 / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.27e-05/0.245, allocations: 83.27 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.245, allocations: 0 / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001962/0.2452, allocations: 12.03 kB / 0.9048 GB, free: 59.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004359/0.2457, allocations: 0.7123 MB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.2459, allocations: 47.95 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2459, allocations: 0 / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.997e-05/0.246, allocations: 24.05 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.2463, allocations: 8.984 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.2467, allocations: 134.4 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.2468, allocations: 0.677 MB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.2468, allocations: 4.062 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.2469, allocations: 7.438 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2469, allocations: 3.938 kB / 0.9064 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.2589, allocations: 1.023 MB / 0.9074 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.2592, allocations: 212.7 kB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.025, allocations: 0 / 0.9076 GB, free: 56.2 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)