Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.001338/0.001345, allocations: 109.4 kB / 15.69 MB, free: 128 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.001438/0.00144, allocations: 186.7 kB / 16.62 MB, free: 6.613 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.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.709/1.709, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001381/0.001381, allocations: 70.62 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2656, allocations: 114.5 MB / 0.7837 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001952/0.2676, allocations: 0.5376 MB / 0.7842 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.597e-05/0.2676, allocations: 0 / 0.7842 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.2676, allocations: 0 / 0.7842 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.2677, allocations: 0 / 0.7842 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.536e-05/0.2677, allocations: 4 kB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.073e-05/0.2677, allocations: 4 kB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.96e-05/0.2678, allocations: 7.984 kB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.2679, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.2679, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.652e-05/0.2679, allocations: 7.938 kB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.2679, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-06/0.2679, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.2679, allocations: 0 / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.268, allocations: 3.938 kB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.468e-05/0.268, allocations: 7.984 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.268, allocations: 0 / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.963e-06/0.268, allocations: 3.938 kB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.268, allocations: 4 kB / 0.7842 GB, free: 12.68 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002985/0.2684, allocations: 307.6 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2684, allocations: 12.06 kB / 0.7845 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.645e-05/0.2684, allocations: 30.75 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.747e-05/0.2685, allocations: 0.9375 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.2686, allocations: 164.4 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.2686, allocations: 4.375 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.2687, allocations: 384 / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.2687, allocations: 30.27 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2687, allocations: 3.938 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.2688, allocations: 0 / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2688, allocations: 3.984 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.641e-05/0.2688, allocations: 7.938 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.2691, allocations: 379.4 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.2692, allocations: 181.1 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.2692, allocations: 84.17 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2693, allocations: 79.22 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.2693, allocations: 105.8 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2693, allocations: 3.938 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.352e-05/0.2694, allocations: 29.7 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.2695, allocations: 130.7 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.2696, allocations: 97.84 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.2696, allocations: 25.7 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.2696, allocations: 84.14 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.2696, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.2696, allocations: 9.719 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.2697, allocations: 315 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.2698, allocations: 0 / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.2698, allocations: 3.938 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.2698, allocations: 75.28 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/0.2698, allocations: 83.22 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.969e-05/0.2699, allocations: 29.69 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.2699, allocations: 79.28 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.27, allocations: 83.28 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.329e-05/0.27, allocations: 158.5 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.27, allocations: 75.28 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.491e-05/0.2701, allocations: 154.5 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.2702, allocations: 79.28 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2702, allocations: 75.28 kB / 0.7871 GB, free: 9.508 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 (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 prepare postOptimizeDAE: time 0.0002041/0.2704, allocations: 272.6 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.2705, allocations: 108.9 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.2706, allocations: 112.9 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-05/0.2707, allocations: 184.2 kB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.414e-05/0.2707, allocations: 176.3 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-05/0.2708, allocations: 184.2 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.271, allocations: 413.1 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.921e-05/0.2711, allocations: 101 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.2711, allocations: 112.9 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-05/0.2712, allocations: 176.3 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.2714, allocations: 176.3 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-05/0.2714, allocations: 188.5 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.481e-05/0.2715, allocations: 180.3 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.2717, allocations: 307.7 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2718, allocations: 190 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.2719, allocations: 180.2 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.272, allocations: 109 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.2721, allocations: 184.2 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.2722, allocations: 101 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.2722, allocations: 75.28 kB / 0.7904 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2722, allocations: 0 / 0.7904 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003047/0.2725, allocations: 4 kB / 0.7905 GB, free: 5.82 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.0005245/0.273, allocations: 0.8127 MB / 0.7912 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.744e-05/0.2731, allocations: 4 kB / 0.7912 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2731, allocations: 0 / 0.7912 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.2731, allocations: 0 / 0.7912 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.2735, allocations: 467.6 kB / 0.7917 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2745, allocations: 1.528 MB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.275, allocations: 0.6728 MB / 0.7938 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.033e-06/0.275, allocations: 4 kB / 0.7938 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.275, allocations: 7.438 kB / 0.7939 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.275, allocations: 0 / 0.7939 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.2931, allocations: 0.9262 MB / 0.7948 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.96, allocations: 3.938 kB / 0.7948 GB, free: 1.375 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)