Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.001035/0.001035, 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.001046/0.001046, allocations: 195 kB / 16.53 MB, free: 6.699 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.322/1.322, allocations: 205.1 MB / 222.4 MB, free: 4.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.651/1.651, 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.001557/0.001557, allocations: 67.81 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.211, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002158/0.2132, allocations: 0.6519 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.2133, allocations: 11.94 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.2134, allocations: 0 / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.596e-05/0.2135, allocations: 3.938 kB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.249e-05/0.2136, allocations: 0 / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.4e-05/0.2136, allocations: 4 kB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.2137, allocations: 23.92 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2139, allocations: 43.91 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.2139, allocations: 7.984 kB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.125e-05/0.2139, allocations: 15.88 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2139, allocations: 8 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.214, allocations: 4 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.214, allocations: 11.98 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.214, allocations: 19.88 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.293e-05/0.2141, allocations: 51.8 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2141, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2142, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2142, allocations: 0 / 0.7843 GB, free: 12.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003074/0.2145, allocations: 351.5 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2145, allocations: 8.031 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.2146, allocations: 42.73 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.2146, allocations: 4.938 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2147, allocations: 180.2 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.2148, allocations: 4.375 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.2148, allocations: 8.375 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.2149, allocations: 78.11 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2149, allocations: 3.938 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.215, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.215, allocations: 4 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.215, allocations: 51.91 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.2155, allocations: 491.1 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/0.2156, allocations: 169.1 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.2156, allocations: 80.14 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.2156, allocations: 75.28 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.2157, allocations: 113.8 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.2157, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.959e-05/0.2158, allocations: 37.59 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.2159, allocations: 130.6 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.216, allocations: 172.5 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.216, allocations: 25.7 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.2161, allocations: 100.1 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.2161, allocations: 4 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.2162, allocations: 13.72 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.2163, allocations: 314.8 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.2163, allocations: 11.98 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.2163, allocations: 4 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.2164, allocations: 20.78 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2164, allocations: 0 / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.2165, allocations: 57.66 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2165, allocations: 4.109 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2165, allocations: 7.938 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2165, allocations: 3.984 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.2166, allocations: 7.938 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.2166, allocations: 0 / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.2166, allocations: 7.906 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2167, allocations: 4 kB / 0.7868 GB, free: 9.727 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 (1): * Single equations (assignments): 1 * 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 9.757e-05/0.2168, allocations: 193.1 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.2168, allocations: 112.9 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.2169, allocations: 108.9 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.677e-05/0.217, allocations: 184.2 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-05/0.217, allocations: 184.1 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-05/0.2171, allocations: 180.3 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.2173, allocations: 425.1 kB / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.328e-05/0.2174, allocations: 101 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.2174, allocations: 105 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.998e-05/0.2174, allocations: 185.3 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.2175, allocations: 180.3 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-05/0.2176, allocations: 184.1 kB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.529e-05/0.2176, allocations: 184.3 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.2177, allocations: 315.7 kB / 0.7893 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.2178, allocations: 190 kB / 0.7895 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.2179, allocations: 180.2 kB / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.218, allocations: 113.2 kB / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.218, allocations: 188.2 kB / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.2181, allocations: 105 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.939e-05/0.2182, allocations: 127.2 kB / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2182, allocations: 0 / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00021/0.2184, allocations: 4 kB / 0.7902 GB, free: 6.027 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 (0): * Single equations (assignments): 0 * 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.0003575/0.2188, allocations: 0.8164 MB / 0.791 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.934e-05/0.2188, allocations: 12 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2188, allocations: 0 / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.2188, allocations: 0 / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.2193, allocations: 470.7 kB / 0.7915 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2205, allocations: 1.601 MB / 0.793 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2207, allocations: 0.6885 MB / 0.7937 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.328e-05/0.2207, allocations: 8 kB / 0.7937 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.2208, allocations: 15.44 kB / 0.7937 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2208, allocations: 0 / 0.7937 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.2365, allocations: 1.601 MB / 0.7953 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.377, allocations: 7.688 kB / 0.7953 GB, free: 0.7539 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)