Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 195.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.723/1.723, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001441/0.001442, allocations: 73.95 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1989, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001893/0.2008, allocations: 0.7024 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.2018, allocations: 0.8749 MB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.2019, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.2019, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.202, allocations: 11.88 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.2022, allocations: 15.98 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.2022, allocations: 43.92 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.2023, allocations: 11.97 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.2024, allocations: 23.86 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.2025, allocations: 19.92 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2025, allocations: 7.938 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.2025, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.2025, allocations: 15.98 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.2026, allocations: 19.88 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.515e-05/0.2027, allocations: 39.86 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2027, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2027, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2027, allocations: 0 / 0.7852 GB, free: 11.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005106/0.2032, allocations: 363.6 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2033, allocations: 8.031 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.2033, allocations: 38.75 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.2034, allocations: 4.938 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2035, allocations: 168.2 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2035, allocations: 4.375 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.2035, allocations: 4.359 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.2038, allocations: 74.16 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2038, allocations: 3.938 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2038, allocations: 4 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2038, allocations: 7.984 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.2041, allocations: 63.92 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.2045, allocations: 264.9 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.2047, allocations: 58.48 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2049, allocations: 40.91 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.2049, allocations: 7.938 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2049, allocations: 30.56 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2049, allocations: 0 / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000531/0.2054, allocations: 133.5 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2055, allocations: 51.41 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.2056, allocations: 109.8 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2056, allocations: 25.7 kB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.2056, allocations: 84.14 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.2057, allocations: 11.84 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.2057, allocations: 17.72 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2058, allocations: 318.8 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.206, allocations: 27.97 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2061, allocations: 31.95 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.2064, allocations: 72.73 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2064, allocations: 0 / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003156/0.2067, allocations: 101.5 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2067, allocations: 4 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2067, allocations: 4 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2068, allocations: 4 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.2069, allocations: 19.86 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2069, allocations: 0 / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.207, allocations: 15.98 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.207, allocations: 0 / 0.7873 GB, free: 9.199 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 (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 6.93e-05/0.2071, allocations: 118.4 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.2071, allocations: 0 / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.2071, allocations: 15.91 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2071, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2072, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2072, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.2073, allocations: 173.5 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2073, allocations: 3.984 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.2074, allocations: 15.98 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2074, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2074, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2074, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2075, allocations: 4 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.2078, allocations: 203.5 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.2078, allocations: 89.16 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2079, allocations: 3.984 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.208, allocations: 15.98 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.208, allocations: 3.984 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.2081, allocations: 0 / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.76e-05/0.2081, allocations: 87.28 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2081, allocations: 0 / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002734/0.2084, allocations: 8 kB / 0.788 GB, free: 8.375 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 (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.0006335/0.209, allocations: 0.7318 MB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.2094, allocations: 67.86 kB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2094, allocations: 8 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2095, allocations: 39.95 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.2098, allocations: 6.406 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.2103, allocations: 159.1 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.2105, allocations: 0.6846 MB / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.2105, allocations: 0 / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.2105, allocations: 15.44 kB / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of SimCode: time 1.653e-06/0.2106, allocations: 0 / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.2284, allocations: 1.639 MB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.432, allocations: 12.38 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)