Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 104.4 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.254/3.254, allocations: 0.49 GB / 0.7916 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 63.38 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3843, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.004239/0.3885, allocations: 1.564 MB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3899, allocations: 0.5065 MB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.39, allocations: 0 / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.3901, allocations: 3.938 kB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.958e-05/0.3901, allocations: 7.875 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.3904, allocations: 35.89 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3906, allocations: 47.91 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3907, allocations: 8 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3909, allocations: 39.84 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.391, allocations: 19.86 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.391, allocations: 4 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.391, allocations: 11.98 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.3911, allocations: 4 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.3911, allocations: 23.86 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.3913, allocations: 52.03 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3913, allocations: 0 / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3913, allocations: 4 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3913, allocations: 0 / 1.323 GB, free: 1.02 MB / 1.014 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.0007618/0.3921, allocations: 367.2 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.3921, allocations: 19.92 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.3922, allocations: 34.75 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.3924, allocations: 16.88 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.3927, allocations: 184.2 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.3927, allocations: 4.375 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3927, allocations: 384 / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.3931, allocations: 69.8 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3931, allocations: 0 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.3931, allocations: 4 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3931, allocations: 0 / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.3934, allocations: 43.95 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/0.3942, allocations: 300.6 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.3947, allocations: 58.55 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.3949, allocations: 24.91 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.3949, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.395, allocations: 34.56 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.395, allocations: 3.938 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006731/0.3956, allocations: 97.58 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.3957, allocations: 51.41 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3959, allocations: 118.1 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.3959, allocations: 25.7 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.396, allocations: 96.12 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.396, allocations: 3.953 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.3961, allocations: 17.72 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.3963, allocations: 326.8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.3965, allocations: 15.98 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3966, allocations: 15.98 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.397, allocations: 44.77 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.397, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004448/0.3974, allocations: 73.62 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3974, allocations: 4 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3974, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3974, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3976, allocations: 11.98 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3976, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3977, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3977, allocations: 7.938 kB / 1.325 GB, free: 14.75 MB / 1.029 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 0.0001353/0.3979, allocations: 113.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.3979, allocations: 15.83 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.398, allocations: 11.91 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.398, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.398, allocations: 7.938 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.398, allocations: 0 / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.3983, allocations: 177.6 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3983, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.3984, allocations: 4 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3984, allocations: 7.984 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3985, allocations: 0 / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3985, allocations: 4 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3985, allocations: 0 / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.399, allocations: 171.4 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.3991, allocations: 85.03 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.3991, allocations: 0 / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.3993, allocations: 4 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3993, allocations: 7.984 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3993, allocations: 4 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001215/0.3994, allocations: 104 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3994, allocations: 3.938 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004294/0.3999, allocations: 11.95 kB / 1.326 GB, free: 13.93 MB / 1.029 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.0009711/0.4008, allocations: 0.6894 MB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003902/0.4012, allocations: 44 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4012, allocations: 0 / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.4014, allocations: 23.92 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.4018, allocations: 6.5 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.4049, allocations: 1.365 MB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.4054, allocations: 0.6844 MB / 1.328 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.132e-05/0.4054, allocations: 3.984 kB / 1.328 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.4055, allocations: 15.44 kB / 1.328 GB, free: 10.97 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.4055, allocations: 0 / 1.328 GB, free: 10.97 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.4381, allocations: 1.556 MB / 1.33 GB, free: 9.508 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.513, allocations: 13.55 kB / 1.33 GB, free: 9.496 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.124436401994899]