Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001779/0.001779, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002215/0.002215, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.707/2.707, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="cs",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.002053/0.002053, allocations: 60.53 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002822/0.319, allocations: 1.541 MB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000854/0.3199, allocations: 476.6 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.32, allocations: 0 / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.32, allocations: 3.938 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.32, allocations: 7.875 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3203, allocations: 39.89 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3204, allocations: 47.84 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.3205, allocations: 11.94 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3206, allocations: 31.92 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.3207, allocations: 23.89 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3207, allocations: 7.938 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.3207, allocations: 12 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.3208, allocations: 4 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.3208, allocations: 19.86 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3209, allocations: 47.39 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3209, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3209, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3209, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 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.0005173/0.3214, allocations: 302 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3215, allocations: 8.031 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.158e-05/0.3215, allocations: 4.125 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.3215, allocations: 38.75 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.3217, allocations: 16.88 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3218, allocations: 114.5 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.3219, allocations: 12.31 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3219, allocations: 384 / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3221, allocations: 65.61 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3221, allocations: 4 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3221, allocations: 4 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3221, allocations: 0 / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.3223, allocations: 43.91 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.3227, allocations: 263.8 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.323, allocations: 62.55 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.3231, allocations: 24.84 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3232, allocations: 0 / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3232, allocations: 38.55 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3232, allocations: 0 / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003684/0.3236, allocations: 81.8 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.3236, allocations: 51.41 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3237, allocations: 126.1 kB / 1.287 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3237, allocations: 25.7 kB / 1.287 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.3238, allocations: 96.09 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.3238, allocations: 7.953 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.3238, allocations: 17.7 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.324, allocations: 322.7 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.3241, allocations: 23.98 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.3241, allocations: 16.02 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3243, allocations: 40.83 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3243, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002098/0.3245, allocations: 73.62 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3245, allocations: 8 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3245, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3246, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.3246, allocations: 15.92 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3246, allocations: 3.938 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.3247, allocations: 11.92 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.3247, allocations: 0 / 1.288 GB, free: 6.328 MB / 0.9825 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 8.995e-05/0.3248, allocations: 114.9 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.3248, allocations: 7.953 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.3248, allocations: 12 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3249, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3249, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3249, allocations: 7.922 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.325, allocations: 140.7 kB / 1.288 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.325, allocations: 0 / 1.288 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.538e-05/0.3251, allocations: 11.98 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3251, allocations: 7.938 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3251, allocations: 0 / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3251, allocations: 4 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3251, allocations: 0 / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3254, allocations: 175.3 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.3254, allocations: 0 / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3254, allocations: 0 / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.3255, allocations: 4 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3255, allocations: 7.984 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3255, allocations: 3.938 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.3256, allocations: 101.4 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3256, allocations: 4 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002168/0.3258, allocations: 4 kB / 1.289 GB, free: 5.664 MB / 0.9825 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.0005664/0.3264, allocations: 0.6968 MB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3266, allocations: 39.91 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3266, allocations: 0 / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.3267, allocations: 20.31 kB / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3269, allocations: 13.83 kB / 1.289 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.3286, allocations: 1.369 MB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.145e-05/0.3287, allocations: 71.58 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.3287, allocations: 8 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.3288, allocations: 19.38 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3288, allocations: 0 / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.3546, allocations: 1.719 MB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.73, allocations: 10.7 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.513382700970396]