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.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.513/1.513, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001092/0.001092, allocations: 182.7 kB / 326.5 MB, free: 2.234 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.8/1.8, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009836/0.0009846, allocations: 92.25 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 13.62 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2807, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001698/0.2824, allocations: 1.097 MB / 0.9012 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.2827, allocations: 94 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.2828, allocations: 0 / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.2828, allocations: 3.938 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.248e-05/0.2829, allocations: 15.91 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.031e-05/0.283, allocations: 0 / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.283, allocations: 12 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2831, allocations: 15.97 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.2832, allocations: 4 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.2833, allocations: 15.92 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.2833, allocations: 0 / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.2833, allocations: 0 / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.2833, allocations: 0 / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.2833, allocations: 29.7 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.891e-05/0.2834, allocations: 15.95 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2834, allocations: 4 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2834, allocations: 4 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2834, allocations: 0 / 0.9014 GB, free: 62.5 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.0004098/0.2838, allocations: 339.3 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.2839, allocations: 8.031 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.2839, allocations: 30.56 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.284, allocations: 7.906 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.329e-05/0.2841, allocations: 179.2 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2841, allocations: 4 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2841, allocations: 7.984 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.2843, allocations: 49.69 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2843, allocations: 0 / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2843, allocations: 0 / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2843, allocations: 0 / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.2845, allocations: 47.95 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.2848, allocations: 260.8 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.2849, allocations: 46.56 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.285, allocations: 0 / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.285, allocations: 30.56 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.285, allocations: 0 / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003242/0.2853, allocations: 101.6 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.2853, allocations: 55.41 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.2854, allocations: 101.8 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.2854, allocations: 25.83 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.2855, allocations: 92.14 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.2855, allocations: 3.906 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.2855, allocations: 0 / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.2856, allocations: 314.8 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.2856, allocations: 27.97 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.2857, allocations: 19.98 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.2858, allocations: 27.92 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2858, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001748/0.286, allocations: 81.66 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.286, allocations: 4 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2861, allocations: 0 / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2861, allocations: 0 / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.2862, allocations: 11.98 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2862, allocations: 3.984 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.2862, allocations: 12.03 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.2863, allocations: 0 / 0.9032 GB, free: 60.42 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: 1 (lesThr.y) * 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 5.71e-05/0.2863, allocations: 120 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.2863, allocations: 3.906 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.2864, allocations: 15.06 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2864, allocations: 0 / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2864, allocations: 0 / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2864, allocations: 0 / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.2865, allocations: 165.6 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2865, allocations: 3.984 kB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.2866, allocations: 8 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2866, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2866, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2866, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2866, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.2869, allocations: 183.4 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.2869, allocations: 77.11 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2869, allocations: 4.234 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.287, allocations: 12.03 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.2871, allocations: 11.98 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.2871, allocations: 0 / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.772e-05/0.2871, allocations: 83.28 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2871, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002172/0.2873, allocations: 4 kB / 0.9039 GB, free: 59.65 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: 1 (lesThr.y) * 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.0004326/0.2878, allocations: 0.7123 MB / 0.9046 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.288, allocations: 51.98 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.288, allocations: 0 / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.2881, allocations: 23.98 kB / 0.9047 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.2883, allocations: 4 kB / 0.9047 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.2887, allocations: 144.5 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.2889, allocations: 0.6847 MB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.2889, allocations: 0 / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.289, allocations: 23.36 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.289, allocations: 0 / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.3015, allocations: 1.062 MB / 0.9065 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.3017, allocations: 207.6 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.024, allocations: 0 / 0.9067 GB, free: 56.79 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)