Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.0007211/0.0007211, allocations: 84.38 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.0008163/0.0008162, 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.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.573/1.573, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005385/0.0005387, allocations: 17.94 kB / 0.6739 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2022, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.0007706/0.2031, allocations: 398.7 kB / 0.7878 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007593/0.2038, allocations: 0.7932 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.2039, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.2039, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.2039, allocations: 3.984 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.204, allocations: 11.92 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.173e-05/0.2041, allocations: 19.98 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.908e-05/0.2042, allocations: 12 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.2042, allocations: 7.938 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.179e-05/0.2043, allocations: 7.984 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.2043, allocations: 4 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.2043, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.2043, allocations: 3.938 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.2043, allocations: 29.7 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.597e-05/0.2044, allocations: 11.97 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2044, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2044, allocations: 7.984 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.2044, allocations: 4 kB / 0.7887 GB, free: 10.48 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.0003305/0.2048, allocations: 335.5 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2048, allocations: 11.97 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.2048, allocations: 38.55 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.631e-05/0.2049, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.2049, allocations: 167 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.205, allocations: 4 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-06/0.205, allocations: 3.938 kB / 0.7892 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.2051, allocations: 57.61 kB / 0.7893 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2051, allocations: 3.984 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2051, allocations: 4 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2052, allocations: 0 / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.2053, allocations: 47.95 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.2056, allocations: 248.9 kB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.2057, allocations: 46.5 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.2058, allocations: 32.89 kB / 0.7897 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.2058, allocations: 0 / 0.7897 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.2058, allocations: 30.56 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.2058, allocations: 0 / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003012/0.2061, allocations: 97.55 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.2062, allocations: 55.41 kB / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.125e-05/0.2062, allocations: 102 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.2062, allocations: 25.7 kB / 0.7899 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.2063, allocations: 84.14 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2063, allocations: 7.891 kB / 0.79 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-06/0.2063, allocations: 7.938 kB / 0.79 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.2064, allocations: 314.8 kB / 0.7903 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.2065, allocations: 19.98 kB / 0.7904 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.2066, allocations: 23.98 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.843e-05/0.2066, allocations: 23.97 kB / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2066, allocations: 0 / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001623/0.2068, allocations: 77.73 kB / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2068, allocations: 4 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2068, allocations: 0 / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2069, allocations: 0 / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.2069, allocations: 11.98 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.2069, allocations: 32 / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.207, allocations: 15.98 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.207, allocations: 0 / 0.7905 GB, free: 8.395 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 6.441e-05/0.2071, allocations: 117.7 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.2071, allocations: 4 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.2073, allocations: 80.78 kB / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2073, allocations: 0 / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2073, allocations: 3.938 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2073, allocations: 3.938 kB / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.2075, allocations: 165.5 kB / 0.7909 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2075, allocations: 0 / 0.7909 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.2075, allocations: 11.98 kB / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2075, allocations: 4.031 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.2076, allocations: 4 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2076, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2076, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.2078, allocations: 183.3 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.2078, allocations: 77.11 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.2078, allocations: 4 kB / 0.7911 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.2079, allocations: 11.98 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.2079, allocations: 0 / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.2079, allocations: 4 kB / 0.7912 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.208, allocations: 79.28 kB / 0.7912 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.208, allocations: 4.031 kB / 0.7912 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001967/0.2082, allocations: 4 kB / 0.7912 GB, free: 7.543 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.0004168/0.2086, allocations: 0.7144 MB / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.2088, allocations: 43.97 kB / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2088, allocations: 96 / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.2089, allocations: 27.98 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.2091, allocations: 7.984 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.2094, allocations: 134.4 kB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.2096, allocations: 0.6735 MB / 0.7928 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.2097, allocations: 4 kB / 0.7928 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.2097, allocations: 19.3 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2097, allocations: 0 / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009624/0.2193, allocations: 1.015 MB / 0.7938 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/0.2196, allocations: 190.5 kB / 0.794 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/1.667, allocations: 0 / 0.794 GB, free: 4.707 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) Environment - environmentSimulation: