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.Line.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.Line,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.475/1.475, allocations: 252 MB / 267.3 MB, free: 10.84 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.000998/0.000998, allocations: 186.1 kB / 327 MB, free: 2.074 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.62/1.62, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0008177/0.0008179, allocations: 82.41 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 16.33 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2383, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001722/0.2401, allocations: 1.316 MB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.2407, allocations: 204.2 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2408, allocations: 0 / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.2408, allocations: 7.922 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.168e-05/0.2409, allocations: 11.92 kB / 0.9024 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.2411, allocations: 51.95 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.2413, allocations: 131.7 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.2415, allocations: 61.2 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.2416, allocations: 31.8 kB / 0.9027 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.2417, allocations: 51.7 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.2417, allocations: 7.938 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.2417, allocations: 8 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.2418, allocations: 19.91 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.2418, allocations: 77.36 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.242, allocations: 123.5 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.242, allocations: 0 / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.242, allocations: 0 / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.242, allocations: 4 kB / 0.903 GB, free: 61.23 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000549/0.2425, allocations: 415.5 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/0.2426, allocations: 12.03 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.2427, allocations: 50.73 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.2427, allocations: 16.75 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2429, allocations: 212 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2429, allocations: 8.375 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.243, allocations: 16.38 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.2433, allocations: 154.2 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2433, allocations: 3.938 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.2433, allocations: 8 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2434, allocations: 0 / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.2437, allocations: 139.9 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.2444, allocations: 500 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.2446, allocations: 94.47 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.2447, allocations: 52.83 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2447, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.2448, allocations: 38.56 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.2448, allocations: 7.938 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004573/0.2452, allocations: 177.5 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2453, allocations: 59.34 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.2454, allocations: 191.5 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2454, allocations: 29.7 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.2455, allocations: 115.8 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.2455, allocations: 35.55 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.2455, allocations: 4 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.2456, allocations: 322.8 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.2457, allocations: 47.97 kB / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.2458, allocations: 51.97 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.2461, allocations: 103.5 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2461, allocations: 3.938 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002871/0.2464, allocations: 157.4 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2464, allocations: 6.656 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2464, allocations: 4 kB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2464, allocations: 0 / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2466, allocations: 27.98 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.524e-05/0.2466, allocations: 0 / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2467, allocations: 27.83 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2468, allocations: 0 / 0.9059 GB, free: 57.98 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 (13): * Single equations (assignments): 13 * 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 7.745e-05/0.2468, allocations: 125.8 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.2469, allocations: 15.81 kB / 0.9061 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.2472, allocations: 155 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.2472, allocations: 0 / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2472, allocations: 0 / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2472, allocations: 4 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.2477, allocations: 468.8 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2478, allocations: 4.094 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.2479, allocations: 24.45 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2479, allocations: 4 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2479, allocations: 0 / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2479, allocations: 3.938 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2479, allocations: 4 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.2482, allocations: 253.8 kB / 0.9069 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.2483, allocations: 96.86 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2483, allocations: 7.938 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2484, allocations: 31.95 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.2485, allocations: 7.938 kB / 0.9071 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.2485, allocations: 7.984 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.539e-05/0.2486, allocations: 140.1 kB / 0.9072 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2486, allocations: 0 / 0.9072 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002265/0.2488, allocations: 24 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0005355/0.2494, allocations: 0.7928 MB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.2497, allocations: 103.9 kB / 0.9081 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2497, allocations: 4 kB / 0.9081 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2498, allocations: 55.91 kB / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2501, allocations: 17.14 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.252, allocations: 1.947 MB / 0.9101 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.2521, allocations: 0.7045 MB / 0.9108 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.461e-05/0.2522, allocations: 13.08 kB / 0.9108 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.2523, allocations: 43.42 kB / 0.9108 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2523, allocations: 0 / 0.9108 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.2643, allocations: 2.497 MB / 0.9133 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.2645, allocations: 214.2 kB / 0.9135 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.125, allocations: 0 / 0.9135 GB, free: 50.08 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1)