Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.001745/0.001745, allocations: 108 kB / 15.6 MB, free: 132 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.001748/0.001748, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.421/1.421, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.714/1.714, 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.001699/0.001699, allocations: 73.31 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2362, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.002004/0.2382, allocations: 0.7063 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.2392, allocations: 0.8048 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.2392, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.2393, allocations: 3.938 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.2394, allocations: 15.88 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.446e-05/0.2394, allocations: 7.984 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.447e-05/0.2395, allocations: 39.91 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.2396, allocations: 12 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.2397, allocations: 23.92 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.2397, allocations: 15.92 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2397, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2398, allocations: 4 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.2398, allocations: 11.98 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.2398, allocations: 19.8 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.744e-05/0.2399, allocations: 43.86 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2399, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2399, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2399, allocations: 4 kB / 0.7852 GB, free: 11.61 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.0004995/0.2404, allocations: 363.6 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.2405, allocations: 8.031 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.2405, allocations: 30.75 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.2406, allocations: 4.938 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2407, allocations: 176.2 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2407, allocations: 4.375 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2407, allocations: 384 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.241, allocations: 70.22 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.241, allocations: 7.922 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.241, allocations: 4 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.241, allocations: 0 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.2413, allocations: 67.86 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.2417, allocations: 268.9 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.2419, allocations: 50.55 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.2421, allocations: 36.91 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2421, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.2421, allocations: 46.5 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.2421, allocations: 0 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005616/0.2427, allocations: 125.5 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2427, allocations: 55.39 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.2428, allocations: 113.8 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.2429, allocations: 29.7 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.2429, allocations: 84.14 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2429, allocations: 11.83 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.243, allocations: 17.72 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2431, allocations: 314.8 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.2432, allocations: 35.97 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.2434, allocations: 31.95 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.2437, allocations: 72.67 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2437, allocations: 0 / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003089/0.244, allocations: 101.5 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.244, allocations: 7.984 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.244, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.244, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.2442, allocations: 15.98 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2442, allocations: 4 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.2443, allocations: 11.98 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.2443, allocations: 4 kB / 0.7872 GB, free: 9.246 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.877e-05/0.2444, allocations: 117.7 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.2444, allocations: 4 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.2445, allocations: 11.89 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.2445, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2445, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2445, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.2446, allocations: 173.5 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2446, allocations: 0 / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.2447, allocations: 23.97 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2447, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2448, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2448, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2448, allocations: 4.328 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.2451, allocations: 199.3 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.2452, allocations: 77.11 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.2452, allocations: 4 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2453, allocations: 15.97 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.2454, allocations: 3.938 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.2454, allocations: 7.938 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.847e-05/0.2455, allocations: 87.27 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2455, allocations: 0 / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000216/0.2457, allocations: 8 kB / 0.788 GB, free: 8.426 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.0007055/0.2464, allocations: 0.7318 MB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.2468, allocations: 79.86 kB / 0.7887 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2468, allocations: 0 / 0.7887 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.2469, allocations: 35.91 kB / 0.7888 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.2473, allocations: 8 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.2478, allocations: 155.1 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2481, allocations: 0.6807 MB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.2482, allocations: 3.984 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.2482, allocations: 15.44 kB / 0.7896 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2482, allocations: 0 / 0.7896 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.2674, allocations: 1.597 MB / 0.7912 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.842, allocations: 11.69 kB / 0.7912 GB, free: 5.102 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)