Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.001429/0.001429, 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.002082/0.002082, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.453/1.453, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.713/1.713, 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.001533/0.001533, allocations: 67.22 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.25, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002032/0.2521, allocations: 0.6868 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2531, allocations: 0.8788 MB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.2531, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.2532, allocations: 3.938 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.2533, allocations: 7.938 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.2534, allocations: 23.91 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.2535, allocations: 35.92 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.2536, allocations: 8 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.2537, allocations: 27.91 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.2537, allocations: 23.91 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.2538, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.2538, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.2538, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.2538, allocations: 19.86 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.734e-05/0.2539, allocations: 39.88 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2539, allocations: 0 / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2539, allocations: 0 / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.254, allocations: 0 / 0.7852 GB, free: 11.58 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.0004964/0.2545, allocations: 367.6 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.2545, allocations: 12.03 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.2546, allocations: 30.75 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.2546, allocations: 0.9375 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.2547, allocations: 188.1 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2548, allocations: 4.375 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.2548, allocations: 4.375 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.255, allocations: 66.22 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.255, allocations: 7.922 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2551, allocations: 4 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2551, allocations: 0 / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.2554, allocations: 63.92 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.2557, allocations: 272.8 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.2559, allocations: 54.53 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.2561, allocations: 40.92 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2561, allocations: 3.938 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.2561, allocations: 38.5 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2561, allocations: 0 / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000548/0.2567, allocations: 137.4 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.2567, allocations: 55.41 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.2568, allocations: 109.8 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2569, allocations: 25.7 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.2569, allocations: 88.14 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2569, allocations: 7.891 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.257, allocations: 13.72 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2571, allocations: 314.8 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.2573, allocations: 35.95 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.2574, allocations: 31.97 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.2577, allocations: 68.72 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2577, allocations: 4 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003222/0.258, allocations: 105.5 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.258, allocations: 4 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.258, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2581, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.2582, allocations: 19.97 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2582, allocations: 0 / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.2583, allocations: 11.98 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2583, allocations: 4 kB / 0.7873 GB, free: 9.191 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.981e-05/0.2584, allocations: 113.8 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.2584, allocations: 4 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.2584, allocations: 7.906 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2584, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2585, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2585, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.2586, allocations: 173.5 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2586, allocations: 0 / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.2588, allocations: 19.98 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2588, allocations: 0 / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2588, allocations: 7.938 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2588, allocations: 4 kB / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2588, allocations: 0 / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.2592, allocations: 207.6 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.2593, allocations: 77.11 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2593, allocations: 0 / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2594, allocations: 15.98 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.2594, allocations: 7.984 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2595, allocations: 0 / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.2595, allocations: 87.27 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2595, allocations: 7.938 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002141/0.2597, allocations: 8 kB / 0.788 GB, free: 8.367 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.0007876/0.2605, allocations: 0.7279 MB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.2609, allocations: 75.91 kB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2609, allocations: 0 / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.261, allocations: 35.91 kB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.2614, allocations: 12 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.2619, allocations: 166.4 kB / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2622, allocations: 0.6768 MB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.2623, allocations: 4 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.2623, allocations: 15.42 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2623, allocations: 0 / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.2813, allocations: 1.641 MB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.731, allocations: 15.22 kB / 0.7913 GB, free: 4.992 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)