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.Modulo.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.Modulo,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.499/1.499, allocations: 252 MB / 267.3 MB, free: 10.85 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.001068/0.001068, allocations: 179 kB / 327 MB, free: 2.105 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.715/1.715, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007357/0.0007357, allocations: 91.36 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 16.72 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1975, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001399/0.199, allocations: 1.145 MB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003616/0.1994, allocations: 188.3 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.1994, allocations: 0 / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.1995, allocations: 0 / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.6e-05/0.1995, allocations: 7.938 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.1997, allocations: 11.98 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.1998, allocations: 47.8 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.1999, allocations: 11.98 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.2, allocations: 11.94 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.2, allocations: 27.89 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2, allocations: 0 / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.2001, allocations: 4 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.2001, allocations: 0 / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.2001, allocations: 45.56 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.831e-05/0.2002, allocations: 35.88 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2002, allocations: 0 / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2002, allocations: 7.938 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2002, allocations: 0 / 0.9024 GB, free: 61.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004479/0.2007, allocations: 363.7 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2007, allocations: 12.03 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.2008, allocations: 34.75 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.2008, allocations: 0.9375 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.2009, allocations: 180.2 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2009, allocations: 384 / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.201, allocations: 4.375 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.2012, allocations: 78.2 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2012, allocations: 7.938 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2012, allocations: 4 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2013, allocations: 0 / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.2015, allocations: 87.92 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.2018, allocations: 268.8 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.2021, allocations: 70.53 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.2022, allocations: 48.91 kB / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.2022, allocations: 0 / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.2023, allocations: 38.56 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.2023, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005033/0.2028, allocations: 165.4 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.2028, allocations: 51.41 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/0.2029, allocations: 113.8 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.2029, allocations: 29.7 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.2029, allocations: 88.06 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.2029, allocations: 11.91 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.203, allocations: 0 / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.203, allocations: 310.8 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.2032, allocations: 51.89 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2033, allocations: 39.97 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.2036, allocations: 92.72 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2036, allocations: 0 / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003029/0.2039, allocations: 125.5 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2039, allocations: 8 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2039, allocations: 4 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2039, allocations: 0 / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2041, allocations: 19.97 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2041, allocations: 4 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.2042, allocations: 15.98 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.2042, allocations: 8 kB / 0.9047 GB, free: 59.29 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 (3): * Single equations (assignments): 3 * 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 4.948e-05/0.2042, allocations: 109.8 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2043, allocations: 4 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.2043, allocations: 11.84 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2043, allocations: 3.984 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2043, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2043, allocations: 4 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.2044, allocations: 165.6 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2044, allocations: 4 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.2045, allocations: 19.98 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2045, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2046, allocations: 4 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2046, allocations: 3.984 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2046, allocations: 3.938 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.2049, allocations: 215.3 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.2049, allocations: 81.11 kB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.205, allocations: 8 kB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2051, allocations: 19.97 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.2051, allocations: 4 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.2051, allocations: 0 / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.2052, allocations: 91.27 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2052, allocations: 0 / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001955/0.2054, allocations: 8 kB / 0.9054 GB, free: 58.45 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 (3): * Single equations (assignments): 3 * 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.0005125/0.2059, allocations: 0.7556 MB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.2062, allocations: 91.92 kB / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2062, allocations: 3.938 kB / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2064, allocations: 48.11 kB / 0.9063 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.2066, allocations: 14.66 kB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.207, allocations: 166.1 kB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.2072, allocations: 0.6848 MB / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.2072, allocations: 0 / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.2073, allocations: 19.42 kB / 0.9071 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2073, allocations: 0 / 0.9071 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.2174, allocations: 1.346 MB / 0.9085 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.2177, allocations: 218.5 kB / 0.9087 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.826, allocations: 0 / 0.9087 GB, free: 55.13 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)