Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007886/0.0007883, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007738/0.0007738, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004972, allocations: 16.41 kB / 0.6739 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1942, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.0007298/0.195, allocations: 390.7 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000758/0.1958, allocations: 0.8049 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.1958, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.1958, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.532e-05/0.1959, allocations: 3.984 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.196, allocations: 7.984 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.1961, allocations: 19.94 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.1962, allocations: 7.984 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.1962, allocations: 11.94 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.734e-05/0.1963, allocations: 11.98 kB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1963, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.1963, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-06/0.1963, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.1963, allocations: 33.64 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.197e-05/0.1964, allocations: 15.97 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1964, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1964, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1964, allocations: 3.938 kB / 0.7887 GB, free: 10.49 MB / 0.6075 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.0003751/0.1968, allocations: 343.5 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1968, allocations: 8.031 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.1969, allocations: 34.56 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.1969, allocations: 4 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.197, allocations: 171 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.197, allocations: 0 / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.197, allocations: 4 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1972, allocations: 57.67 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1972, allocations: 3.938 kB / 0.7893 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.1972, allocations: 3.938 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1972, allocations: 0 / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1974, allocations: 43.97 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.1977, allocations: 248.9 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1978, allocations: 38.56 kB / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.441e-05/0.1979, allocations: 32.91 kB / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1979, allocations: 0 / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1979, allocations: 34.5 kB / 0.7897 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1979, allocations: 0 / 0.7897 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002909/0.1982, allocations: 101.5 kB / 0.7898 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.1983, allocations: 55.41 kB / 0.7898 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.359e-05/0.1983, allocations: 101.8 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.1983, allocations: 25.7 kB / 0.79 GB, free: 9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1984, allocations: 88.27 kB / 0.79 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.1984, allocations: 7.906 kB / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-06/0.1984, allocations: 0 / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.1985, allocations: 318.8 kB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.371e-05/0.1986, allocations: 23.98 kB / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.428e-05/0.1986, allocations: 23.92 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.014e-05/0.1987, allocations: 23.98 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1987, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001674/0.1989, allocations: 77.72 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.1989, allocations: 4 kB / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1989, allocations: 0 / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1989, allocations: 0 / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.199, allocations: 11.98 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.199, allocations: 4 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.1991, allocations: 12.02 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1991, allocations: 0 / 0.7905 GB, free: 8.398 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.1992, allocations: 117.8 kB / 0.7906 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.1992, allocations: 0 / 0.7906 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1994, allocations: 84.72 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1994, allocations: 3.938 kB / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1994, allocations: 0 / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1994, allocations: 0 / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1996, allocations: 169.5 kB / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1996, allocations: 0 / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.1996, allocations: 16 kB / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1996, allocations: 0 / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-06/0.1997, allocations: 0 / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1997, allocations: 8.016 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1997, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1999, allocations: 175.3 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.1999, allocations: 89.12 kB / 0.7912 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.2, allocations: 0 / 0.7912 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.2, allocations: 4 kB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.2001, allocations: 7.984 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.2001, allocations: 0 / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.2001, allocations: 83.28 kB / 0.7913 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2001, allocations: 0 / 0.7913 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000198/0.2003, allocations: 0 / 0.7913 GB, free: 7.551 MB / 0.6075 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 (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.0004289/0.2008, allocations: 0.7047 MB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.2009, allocations: 55.89 kB / 0.792 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2009, allocations: 0 / 0.792 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.201, allocations: 28.05 kB / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.2013, allocations: 6.75 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.2016, allocations: 134.4 kB / 0.7922 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2018, allocations: 0.677 MB / 0.7928 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.097e-05/0.2019, allocations: 0 / 0.7928 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.2019, allocations: 7.438 kB / 0.7928 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of SimCode: time 1.232e-06/0.2019, allocations: 4.062 kB / 0.7928 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009379/0.2113, allocations: 1.005 MB / 0.7938 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.2115, allocations: 195.7 kB / 0.794 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.784, allocations: 3.938 kB / 0.794 GB, free: 4.719 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) Environment - environmentSimulation: