Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.772/2.772, allocations: 287.5 MB / 302.4 MB, free: 8.207 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.001361/0.001361, allocations: 190.4 kB / 371 MB, free: 10.84 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.193/2.193, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 93.98 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005193/0.0005196, allocations: 13.03 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2472, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001087/0.2483, allocations: 0.5688 MB / 0.979 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2495, allocations: 0.8837 MB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.2496, allocations: 7.938 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.2497, allocations: 3.938 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.2498, allocations: 3.938 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.25, allocations: 51.92 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.2502, allocations: 119.7 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.2504, allocations: 45.47 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.2505, allocations: 31.86 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.2505, allocations: 47.75 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.2506, allocations: 7.938 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.2506, allocations: 8 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.2507, allocations: 23.91 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.2507, allocations: 41.64 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.2508, allocations: 91.77 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2509, allocations: 0 / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2509, allocations: 0 / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.2509, allocations: 0 / 0.9804 GB, free: 26.29 MB / 0.6198 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.0006757/0.2516, allocations: 431.2 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.2516, allocations: 16.02 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.2517, allocations: 46.55 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.2518, allocations: 15.81 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.252, allocations: 214.8 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.252, allocations: 12 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.252, allocations: 12 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.2525, allocations: 149.6 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2526, allocations: 3.938 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.2526, allocations: 8 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2526, allocations: 0 / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.2531, allocations: 151.8 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.2541, allocations: 0.4922 MB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.2544, allocations: 82.55 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.2546, allocations: 52.83 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.2546, allocations: 4 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.2546, allocations: 38.69 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.2547, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0008266/0.2555, allocations: 173.4 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.2555, allocations: 55.41 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.256, allocations: 199.4 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.256, allocations: 25.7 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.2561, allocations: 119.9 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.2562, allocations: 27.56 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.2563, allocations: 8 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.2564, allocations: 318.8 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.2567, allocations: 51.97 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2569, allocations: 49.59 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.2571, allocations: 43.98 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2572, allocations: 4 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004903/0.2577, allocations: 150.8 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2577, allocations: 9.406 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2577, allocations: 3.938 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2577, allocations: 0 / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.258, allocations: 39.92 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.258, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.2582, allocations: 19.83 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2582, allocations: 7.953 kB / 0.9833 GB, free: 23.08 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.2584, allocations: 119.2 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.2584, allocations: 15.81 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/0.2589, allocations: 159 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.259, allocations: 7.938 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.259, allocations: 0 / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.259, allocations: 0 / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007759/0.2598, allocations: 468.7 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2598, allocations: 4 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.26, allocations: 20.08 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.26, allocations: 8 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2601, allocations: 0 / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.2601, allocations: 8 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2601, allocations: 7.891 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.2606, allocations: 249.9 kB / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.2607, allocations: 92.92 kB / 0.9844 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.2607, allocations: 3.984 kB / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.261, allocations: 27.98 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.261, allocations: 11.94 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2611, allocations: 4 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001358/0.2612, allocations: 141.2 kB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2612, allocations: 0 / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003434/0.2616, allocations: 20 kB / 0.9846 GB, free: 21.62 MB / 0.6198 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 (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.0007095/0.2623, allocations: 0.7892 MB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.2628, allocations: 115.8 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2628, allocations: 0 / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.263, allocations: 56.09 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.2634, allocations: 20.14 kB / 0.9855 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.2653, allocations: 0.8588 MB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.2655, allocations: 0.7123 MB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.743e-05/0.2656, allocations: 13.08 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.399e-05/0.2657, allocations: 39.64 kB / 0.9871 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of SimCode: time 1.583e-06/0.2657, allocations: 0 / 0.9871 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.2884, allocations: 2.456 MB / 0.9895 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/0.2887, allocations: 197.7 kB / 0.9897 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/2.891, allocations: 0 / 0.9897 GB, free: 16.33 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1)