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.001227/0.001227, 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.001974/0.001974, allocations: 188 kB / 16.62 MB, free: 6.582 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.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.826/1.826, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00245/0.00245, allocations: 70.34 kB / 0.6718 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2472, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002165/0.2494, allocations: 0.7137 MB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2506, allocations: 0.8633 MB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.2506, allocations: 7.875 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.2506, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.2508, allocations: 7.875 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.2509, allocations: 19.97 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.251, allocations: 43.91 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.2511, allocations: 15.98 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.2512, allocations: 15.92 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/0.2512, allocations: 27.86 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2513, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2513, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.2513, allocations: 8 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.2513, allocations: 19.86 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.623e-05/0.2514, allocations: 43.86 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2514, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2515, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2515, allocations: 0 / 0.7854 GB, free: 11.43 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.0004778/0.2519, allocations: 367.6 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.252, allocations: 8.031 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.252, allocations: 30.75 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.034e-05/0.2521, allocations: 4.938 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2522, allocations: 168.2 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2522, allocations: 8.375 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2522, allocations: 4.375 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.2524, allocations: 70.14 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2525, allocations: 7.938 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2525, allocations: 4 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2525, allocations: 0 / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.2528, allocations: 67.92 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.2531, allocations: 256.9 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.2533, allocations: 66.41 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.2535, allocations: 40.91 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2535, allocations: 4 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.2535, allocations: 30.56 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2535, allocations: 0 / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005333/0.2541, allocations: 129.5 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.2541, allocations: 55.41 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2542, allocations: 109.8 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2542, allocations: 25.7 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.2543, allocations: 88.12 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.2543, allocations: 3.906 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.2543, allocations: 21.59 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2545, allocations: 326.8 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2546, allocations: 27.97 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.2547, allocations: 27.97 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.255, allocations: 80.98 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.255, allocations: 0 / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003178/0.2554, allocations: 97.53 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2554, allocations: 7.984 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2554, allocations: 4 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2554, allocations: 4 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2555, allocations: 15.92 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2555, allocations: 4.312 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.2556, allocations: 11.98 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2556, allocations: 0 / 0.7875 GB, free: 9.059 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.653e-05/0.2557, allocations: 117.8 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.2557, allocations: 0 / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.2558, allocations: 11.89 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2558, allocations: 0 / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2558, allocations: 0 / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2558, allocations: 4 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.256, allocations: 177.5 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.256, allocations: 0 / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.2561, allocations: 19.97 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2561, allocations: 0 / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2561, allocations: 0 / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2561, allocations: 7.922 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2561, allocations: 0 / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.2565, allocations: 203.3 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.2565, allocations: 81.11 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.2565, allocations: 3.984 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2566, allocations: 11.98 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.2567, allocations: 4 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.2567, allocations: 0 / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.2567, allocations: 95.27 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2568, allocations: 0 / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000216/0.257, allocations: 8 kB / 0.7882 GB, free: 8.23 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.0006314/0.2576, allocations: 0.7318 MB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.2579, allocations: 67.86 kB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.258, allocations: 0 / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.2581, allocations: 39.97 kB / 0.789 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.2584, allocations: 15.92 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.2589, allocations: 151.1 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.2591, allocations: 0.6807 MB / 0.7898 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.2591, allocations: 0 / 0.7898 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.2592, allocations: 19.44 kB / 0.7898 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.2592, allocations: 4 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.2748, allocations: 1.662 MB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.888, allocations: 7.688 kB / 0.7915 GB, free: 4.859 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)