Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.001083/0.001083, 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.00103/0.00103, allocations: 195.5 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.359/1.359, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.697/1.697, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001429/0.001429, allocations: 64.73 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2842, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002598/0.2869, allocations: 0.6073 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.2887, allocations: 1.098 MB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.2888, allocations: 7.938 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.248e-05/0.2889, allocations: 3.984 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/0.289, allocations: 3.938 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.2897, allocations: 126.3 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.2899, allocations: 83.89 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.29, allocations: 8 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.2901, allocations: 35.97 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.2902, allocations: 27.91 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.2902, allocations: 8 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.2903, allocations: 23.92 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.2903, allocations: 7.984 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.2904, allocations: 27.91 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2906, allocations: 79.8 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2906, allocations: 3.984 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2906, allocations: 0 / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2907, allocations: 0 / 0.7856 GB, free: 11.24 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005838/0.2912, allocations: 381.4 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.2913, allocations: 8.031 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.2914, allocations: 34.75 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.2914, allocations: 4.938 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.2916, allocations: 164.3 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2916, allocations: 4.375 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.2916, allocations: 4.375 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.2917, allocations: 38.25 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2917, allocations: 3.938 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2918, allocations: 11.92 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2918, allocations: 4 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.2918, allocations: 7.984 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.2923, allocations: 288.8 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.2923, allocations: 22.52 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.2924, allocations: 12.86 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.2924, allocations: 4 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.2926, allocations: 63.33 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.2926, allocations: 0 / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002165/0.2928, allocations: 57.69 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.2929, allocations: 55.41 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.293, allocations: 109.8 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.293, allocations: 25.7 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.2931, allocations: 96.12 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.2931, allocations: 7.875 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.2932, allocations: 29.7 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2933, allocations: 310.8 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.649e-05/0.2934, allocations: 31.98 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.519e-05/0.2935, allocations: 46.55 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.2936, allocations: 84.22 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2936, allocations: 0 / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002668/0.2939, allocations: 151.1 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.294, allocations: 38.64 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.294, allocations: 0 / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.294, allocations: 0 / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.916e-05/0.294, allocations: 4 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.294, allocations: 0 / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.2943, allocations: 32.05 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.2943, allocations: 4 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001014/0.2944, allocations: 117.8 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.2944, allocations: 4 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.2945, allocations: 3.906 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2945, allocations: 3.984 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2945, allocations: 0 / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2945, allocations: 4 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.2946, allocations: 173.5 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2946, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-06/0.2947, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2947, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.2947, allocations: 4.312 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.2947, allocations: 7.984 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2947, allocations: 3.938 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.2948, allocations: 85.22 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.2949, allocations: 89.05 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2949, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.2949, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.295, allocations: 3.984 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.295, allocations: 4 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.295, allocations: 83.28 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.295, allocations: 0 / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002158/0.2952, allocations: 20 kB / 0.7882 GB, free: 8.164 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000432/0.2957, allocations: 0.625 MB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2959, allocations: 119.4 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2959, allocations: 0 / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.296, allocations: 19.92 kB / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.2962, allocations: 4.188 kB / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.2977, allocations: 1.357 MB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.298, allocations: 0.6768 MB / 0.7909 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.298, allocations: 3.984 kB / 0.7909 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.2981, allocations: 15.44 kB / 0.791 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2981, allocations: 4 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.3189, allocations: 1.935 MB / 0.7928 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.785, allocations: 22.92 kB / 0.7929 GB, free: 3.301 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)