Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_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.001502/0.001502, allocations: 105.4 kB / 15.7 MB, free: 24 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.001256/0.001257, allocations: 197.2 kB / 16.64 MB, free: 6.453 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.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.767/1.767, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001437/0.001437, allocations: 65.55 kB / 0.6718 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2464, allocations: 114.6 MB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002/0.2484, allocations: 0.561 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.253e-05/0.2485, allocations: 3.938 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.371e-05/0.2485, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.2486, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.415e-05/0.2486, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.294e-05/0.2486, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.2487, allocations: 7.984 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.2487, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.398e-05/0.2488, allocations: 4 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.02e-05/0.2488, allocations: 3.938 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.2488, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-06/0.2488, allocations: 3.938 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.2488, allocations: 4 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.2489, allocations: 4 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.977e-05/0.2489, allocations: 3.984 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2489, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2489, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2489, allocations: 0 / 0.7842 GB, free: 12.62 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.0003183/0.2493, allocations: 315.6 kB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2493, allocations: 8.031 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.2494, allocations: 38.69 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.956e-05/0.2494, allocations: 4.938 kB / 0.7846 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2495, allocations: 160.4 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2495, allocations: 384 / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.2495, allocations: 4.312 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.183e-05/0.2496, allocations: 30.25 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2496, allocations: 11.94 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.2497, allocations: 7.984 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2497, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.423e-05/0.2497, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.25, allocations: 387.4 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.683e-05/0.2501, allocations: 169.1 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.2501, allocations: 88.17 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.2502, allocations: 75.28 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.2502, allocations: 113.9 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.2502, allocations: 0 / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.271e-05/0.2503, allocations: 29.64 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.2504, allocations: 126.7 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.2504, allocations: 101.8 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.2505, allocations: 25.7 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.2505, allocations: 80.14 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.2505, allocations: 0 / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.2505, allocations: 17.72 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2507, allocations: 310.8 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.2507, allocations: 0 / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-06/0.2507, allocations: 0 / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.992e-05/0.2507, allocations: 75.41 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.4e-05/0.2508, allocations: 83.22 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.57e-05/0.2508, allocations: 33.64 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.2509, allocations: 79.28 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.2509, allocations: 75.28 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.954e-05/0.251, allocations: 158.5 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.37e-05/0.251, allocations: 79.22 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.222e-05/0.251, allocations: 162.5 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.2511, allocations: 79.22 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.2512, allocations: 75.28 kB / 0.7871 GB, free: 9.434 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.0001066/0.2513, allocations: 265.3 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.2513, allocations: 104.9 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.623e-05/0.2514, allocations: 116.9 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.081e-05/0.2515, allocations: 184.3 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.959e-05/0.2515, allocations: 184.1 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-05/0.2516, allocations: 176.3 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2518, allocations: 413.1 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/0.2519, allocations: 105 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.2519, allocations: 105 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.871e-05/0.252, allocations: 180.2 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.2521, allocations: 184.2 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.527e-05/0.2521, allocations: 180.5 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.336e-05/0.2522, allocations: 176.3 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.2524, allocations: 315.7 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.2525, allocations: 182.1 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.2525, allocations: 184.2 kB / 0.79 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.2526, allocations: 109 kB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/0.2527, allocations: 176.3 kB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.2528, allocations: 112.9 kB / 0.7904 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.2528, allocations: 79.28 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2528, allocations: 0 / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000246/0.2531, allocations: 0 / 0.7905 GB, free: 5.75 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.0004196/0.2535, allocations: 0.8114 MB / 0.7913 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.966e-05/0.2535, allocations: 7.938 kB / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2536, allocations: 0 / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.2536, allocations: 0 / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2539, allocations: 463.6 kB / 0.7917 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.255, allocations: 1.536 MB / 0.7932 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2553, allocations: 0.669 MB / 0.7939 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.326e-06/0.2553, allocations: 0 / 0.7939 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.2553, allocations: 7.438 kB / 0.7939 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2553, allocations: 0 / 0.7939 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.2738, allocations: 0.9128 MB / 0.7948 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.619, allocations: 15.06 kB / 0.7948 GB, free: 1.309 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)