Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.001098/0.001098, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001298/0.001299, allocations: 172.7 kB / 15.95 MB, free: 208 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.521/1.521, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.73/1.73, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.000539/0.0005391, allocations: 16.34 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001099/0.2053, allocations: 0.5802 MB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2065, allocations: 0.8633 MB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.2066, allocations: 4 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.2067, allocations: 7.922 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.495e-05/0.2068, allocations: 11.86 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.2069, allocations: 23.97 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.2071, allocations: 95.7 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2073, allocations: 37.23 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.2074, allocations: 39.83 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.2075, allocations: 35.78 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.2075, allocations: 4 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.2076, allocations: 0 / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.2076, allocations: 15.92 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.2077, allocations: 41.64 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2079, allocations: 92 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2079, allocations: 0 / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2079, allocations: 0 / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2079, allocations: 4 kB / 0.7892 GB, free: 9.969 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008227/0.2087, allocations: 458.9 kB / 0.7896 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2088, allocations: 8.031 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.2088, allocations: 42.56 kB / 0.7897 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.2089, allocations: 15.84 kB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2091, allocations: 186.8 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.2091, allocations: 15.92 kB / 0.7899 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2091, allocations: 8 kB / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.2094, allocations: 93.58 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2094, allocations: 0 / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2094, allocations: 4 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2094, allocations: 8 kB / 0.79 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.2096, allocations: 67.97 kB / 0.7901 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.2103, allocations: 416.4 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.2105, allocations: 70.5 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.2106, allocations: 36.97 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2106, allocations: 0 / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2106, allocations: 46.5 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.2106, allocations: 0 / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003714/0.211, allocations: 113.6 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.211, allocations: 51.41 kB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.2112, allocations: 158.5 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2112, allocations: 25.7 kB / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.2113, allocations: 108 kB / 0.7911 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.2113, allocations: 15.81 kB / 0.7911 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.2113, allocations: 0 / 0.7911 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2114, allocations: 322.8 kB / 0.7914 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2115, allocations: 27.98 kB / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.2116, allocations: 43.91 kB / 0.7914 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.132e-05/0.2117, allocations: 23.98 kB / 0.7915 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2117, allocations: 3.984 kB / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001973/0.2119, allocations: 109.5 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2119, allocations: 4 kB / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2119, allocations: 0 / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2119, allocations: 0 / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.212, allocations: 11.98 kB / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2121, allocations: 0 / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.2122, allocations: 44.05 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.2122, allocations: 0 / 0.7916 GB, free: 7.25 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.381e-05/0.2123, allocations: 121.2 kB / 0.7918 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.2124, allocations: 19.77 kB / 0.7918 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.2124, allocations: 16.3 kB / 0.7918 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2124, allocations: 0 / 0.7918 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2124, allocations: 4 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2124, allocations: 4 kB / 0.7918 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.2126, allocations: 193.6 kB / 0.792 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2126, allocations: 3.938 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.2127, allocations: 11.98 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.2127, allocations: 3.953 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2127, allocations: 4 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2127, allocations: 4.25 kB / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2127, allocations: 0 / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.213, allocations: 195.4 kB / 0.7922 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.2131, allocations: 89.02 kB / 0.7923 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.2131, allocations: 7.891 kB / 0.7923 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.2133, allocations: 31.97 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.2134, allocations: 15.97 kB / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2134, allocations: 4 kB / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.917e-05/0.2135, allocations: 117.7 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2135, allocations: 3.938 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002265/0.2137, allocations: 16 kB / 0.7925 GB, free: 6.305 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005138/0.2142, allocations: 0.7202 MB / 0.7932 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.2145, allocations: 76.12 kB / 0.7932 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2145, allocations: 0 / 0.7932 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.487e-05/0.2146, allocations: 39.98 kB / 0.7933 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.2149, allocations: 18.88 kB / 0.7933 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.2161, allocations: 0.6967 MB / 0.794 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.2165, allocations: 0.7043 MB / 0.7947 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.51e-05/0.2165, allocations: 3.859 kB / 0.7947 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.2166, allocations: 27.48 kB / 0.7947 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2166, allocations: 0 / 0.7947 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.2299, allocations: 2.27 MB / 0.7969 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.2302, allocations: 199.5 kB / 0.7971 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.133, allocations: 0 / 0.7971 GB, free: 1.594 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) Environment - environmentSimulation: