Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.581/2.581, allocations: 287.3 MB / 302.3 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.001569, allocations: 174.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.378/2.378, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 96.95 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006563/0.0006567, allocations: 11.64 kB / 0.8657 GB, free: 139.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2838, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001852/0.2857, allocations: 1.224 MB / 0.9795 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.2866, allocations: 453.1 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.2867, allocations: 0 / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.2867, allocations: 0 / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.2868, allocations: 15.92 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.287, allocations: 19.91 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.2871, allocations: 23.97 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.2872, allocations: 15.98 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2873, allocations: 19.86 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.2874, allocations: 23.91 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2874, allocations: 4 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2874, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.2875, allocations: 7.938 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.2875, allocations: 29.7 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.905e-05/0.2876, allocations: 24.23 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2876, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2876, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2876, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000545/0.2882, allocations: 367.1 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2882, allocations: 12.02 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.2883, allocations: 42.5 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.2883, allocations: 3.953 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.784e-05/0.2884, allocations: 171 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.2885, allocations: 4 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2885, allocations: 0 / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.2888, allocations: 73.66 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2888, allocations: 3.938 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2888, allocations: 4 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2888, allocations: 0 / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.2892, allocations: 55.89 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.2896, allocations: 300.7 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.2902, allocations: 74.53 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2902, allocations: 0 / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2902, allocations: 34.5 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.2902, allocations: 0 / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005862/0.2908, allocations: 101.8 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.2909, allocations: 51.41 kB / 0.9813 GB, free: 25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.291, allocations: 125.8 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.291, allocations: 25.7 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.2911, allocations: 88.14 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.2911, allocations: 11.81 kB / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-06/0.2911, allocations: 0 / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.2912, allocations: 318.8 kB / 0.9819 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2913, allocations: 23.98 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2915, allocations: 23.92 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2917, allocations: 19.98 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2917, allocations: 0 / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003619/0.2921, allocations: 77.67 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2921, allocations: 4 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2921, allocations: 0 / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2922, allocations: 3.953 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2923, allocations: 15.98 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2923, allocations: 0 / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-05/0.2925, allocations: 11.91 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.2925, allocations: 7.984 kB / 0.982 GB, free: 24.23 MB / 0.6198 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.077e-05/0.2926, allocations: 109.8 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.2926, allocations: 4 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.2926, allocations: 7.906 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2927, allocations: 0 / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2927, allocations: 3.953 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2927, allocations: 3.938 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.2929, allocations: 181.7 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2929, allocations: 0 / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.293, allocations: 8 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.293, allocations: 3.984 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2931, allocations: 4 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2931, allocations: 0 / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2931, allocations: 4 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.2935, allocations: 183.3 kB / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.2935, allocations: 85.03 kB / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.2936, allocations: 0 / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2937, allocations: 8 kB / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.2938, allocations: 8.297 kB / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.2938, allocations: 4 kB / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.2939, allocations: 99.22 kB / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.384e-06/0.2939, allocations: 0 / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002882/0.2942, allocations: 15.84 kB / 0.9827 GB, free: 23.41 MB / 0.6198 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.0005961/0.2948, allocations: 0.7008 MB / 0.9834 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.2951, allocations: 47.97 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2952, allocations: 0 / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.2953, allocations: 31.92 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.2956, allocations: 4 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2969, allocations: 0.4983 MB / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.2971, allocations: 0.6887 MB / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.203e-05/0.2972, allocations: 4 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.2972, allocations: 11.44 kB / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.2973, allocations: 0 / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.3198, allocations: 1.256 MB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.3201, allocations: 186.8 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/2.877, allocations: 1.266 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_8.0.0_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)