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.001148/0.001148, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.927/1.927, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005491/0.0005491, allocations: 15.53 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2888, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0008675/0.2897, allocations: 421 kB / 0.7877 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.2905, allocations: 0.8611 MB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.2906, allocations: 0 / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.2906, allocations: 0 / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.2907, allocations: 11.92 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.2908, allocations: 11.98 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.544e-05/0.2909, allocations: 27.97 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.848e-05/0.291, allocations: 8 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.291, allocations: 19.91 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.2911, allocations: 19.91 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.2911, allocations: 4 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.2911, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.2911, allocations: 4 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.2912, allocations: 33.64 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.569e-05/0.2912, allocations: 27.94 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.2912, allocations: 4 kB / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2912, allocations: 0 / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.2912, allocations: 0 / 0.7887 GB, free: 10.42 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.0004353/0.2917, allocations: 359.5 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2917, allocations: 20.02 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.2918, allocations: 30.56 kB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.2918, allocations: 3.906 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2919, allocations: 175 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2919, allocations: 0 / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2919, allocations: 7.938 kB / 0.7892 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.2922, allocations: 85.64 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2922, allocations: 3.938 kB / 0.7893 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2922, allocations: 3.938 kB / 0.7893 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2922, allocations: 3.984 kB / 0.7893 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.2925, allocations: 87.94 kB / 0.7894 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.2928, allocations: 268.9 kB / 0.7897 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.293, allocations: 66.53 kB / 0.7897 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.2931, allocations: 0 / 0.7897 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2931, allocations: 38.5 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2931, allocations: 0 / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005174/0.2936, allocations: 169.6 kB / 0.7899 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.2937, allocations: 51.41 kB / 0.79 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.2937, allocations: 109.8 kB / 0.7901 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2938, allocations: 25.7 kB / 0.7901 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.2938, allocations: 84.14 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.2938, allocations: 7.906 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.2938, allocations: 0 / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.2939, allocations: 330.8 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.2941, allocations: 39.97 kB / 0.7905 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2942, allocations: 43.89 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2944, allocations: 39.97 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2944, allocations: 4 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003043/0.2947, allocations: 125.5 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2947, allocations: 4 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2947, allocations: 0 / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2947, allocations: 4 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.2948, allocations: 19.97 kB / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2949, allocations: 0 / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.2949, allocations: 19.98 kB / 0.7908 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.295, allocations: 4 kB / 0.7908 GB, free: 8.008 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/0.295, allocations: 109.8 kB / 0.7909 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.2951, allocations: 8 kB / 0.7909 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.2951, allocations: 7.891 kB / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2951, allocations: 0 / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2951, allocations: 0 / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2951, allocations: 7.875 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.2953, allocations: 181.5 kB / 0.7911 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2953, allocations: 0 / 0.7911 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.195e-05/0.2954, allocations: 19.98 kB / 0.7911 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2954, allocations: 0 / 0.7911 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2954, allocations: 3.984 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2954, allocations: 4 kB / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2954, allocations: 0 / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.2957, allocations: 220.6 kB / 0.7913 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.2958, allocations: 81.42 kB / 0.7914 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.2958, allocations: 0 / 0.7914 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2959, allocations: 19.97 kB / 0.7914 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.296, allocations: 4 kB / 0.7914 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.296, allocations: 0 / 0.7914 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.296, allocations: 91.27 kB / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.885e-06/0.296, allocations: 4 kB / 0.7915 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002005/0.2962, allocations: 11.84 kB / 0.7915 GB, free: 7.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.2968, allocations: 0.7514 MB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.2971, allocations: 91.92 kB / 0.7924 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.2971, allocations: 0 / 0.7924 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2973, allocations: 51.91 kB / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.2975, allocations: 7.984 kB / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.2978, allocations: 158.4 kB / 0.7926 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.298, allocations: 0.6848 MB / 0.7932 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.2981, allocations: 4 kB / 0.7932 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.2981, allocations: 15.38 kB / 0.7933 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2981, allocations: 0 / 0.7933 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.253/0.5511, allocations: 1.32 MB / 0.7945 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.5514, allocations: 189.3 kB / 0.7947 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.121, allocations: 0 / 0.7947 GB, free: 3.875 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --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) Environment - environmentSimulation: