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.001182/0.001182, 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.001198/0.001198, 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.604/1.604, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.838/1.838, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001447/0.001447, allocations: 75.92 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2853, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002407/0.2877, allocations: 0.7086 MB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.289, allocations: 0.8633 MB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.289, allocations: 3.938 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.2891, allocations: 7.938 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.311e-05/0.2892, allocations: 11.92 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.2894, allocations: 15.92 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.276e-05/0.2895, allocations: 39.92 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2896, allocations: 11.98 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2897, allocations: 15.92 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.2898, allocations: 23.92 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.2898, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.2898, allocations: 8 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.2898, allocations: 11.97 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.2899, allocations: 15.88 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.29, allocations: 47.75 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.29, allocations: 0 / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.906e-06/0.29, allocations: 0 / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.29, allocations: 0 / 0.7854 GB, free: 11.45 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.0005986/0.2906, allocations: 367.6 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2907, allocations: 12.03 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.2907, allocations: 34.75 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.2908, allocations: 0.9375 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.2909, allocations: 172.2 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2909, allocations: 384 / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.291, allocations: 8.359 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.2913, allocations: 66.22 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2913, allocations: 3.938 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2913, allocations: 8 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.2913, allocations: 0 / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.2916, allocations: 67.86 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.292, allocations: 264.9 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.2923, allocations: 62.48 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.2924, allocations: 40.91 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.2924, allocations: 0 / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.2925, allocations: 34.5 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2925, allocations: 0 / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005424/0.293, allocations: 133.5 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2931, allocations: 55.41 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.2932, allocations: 113.8 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2932, allocations: 25.7 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.2933, allocations: 84.14 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2933, allocations: 11.91 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.2934, allocations: 9.719 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2935, allocations: 322.8 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.2936, allocations: 27.97 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.2938, allocations: 39.89 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.294, allocations: 68.73 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.294, allocations: 4 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003244/0.2944, allocations: 105.8 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2944, allocations: 8 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2944, allocations: 4 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2944, allocations: 0 / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2945, allocations: 11.98 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2946, allocations: 4 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.2946, allocations: 7.984 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2947, allocations: 4 kB / 0.7875 GB, free: 9.07 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 9.069e-05/0.2948, allocations: 125.6 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.2948, allocations: 4 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.2948, allocations: 7.906 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2948, allocations: 0 / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2948, allocations: 0 / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2949, allocations: 0 / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2951, allocations: 173.5 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2951, allocations: 3.984 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.2952, allocations: 15.98 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2952, allocations: 0 / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2952, allocations: 0 / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2952, allocations: 3.938 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2952, allocations: 4 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.2956, allocations: 203.3 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.2956, allocations: 77.11 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2957, allocations: 0 / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2958, allocations: 15.98 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.2958, allocations: 11.92 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.2958, allocations: 4 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.261e-05/0.2959, allocations: 83.28 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2959, allocations: 0 / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002249/0.2961, allocations: 8 kB / 0.7882 GB, free: 8.246 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.0007499/0.2969, allocations: 0.7318 MB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.2972, allocations: 71.86 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2973, allocations: 4 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.2974, allocations: 35.95 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2978, allocations: 10.66 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/0.2983, allocations: 151.1 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2986, allocations: 0.6807 MB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.2987, allocations: 4 kB / 0.7898 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.2988, allocations: 19.44 kB / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2988, allocations: 0 / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.3191, allocations: 1.663 MB / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.711, allocations: 11.45 kB / 0.7915 GB, free: 4.871 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/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)