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.001358/0.001358, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001624/0.001624, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.98 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.973/2.973, allocations: 476.7 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_11_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.002146/0.002146, allocations: 66.72 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3261, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003414/0.3296, allocations: 1.558 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3307, allocations: 0.5082 MB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.029e-05/0.3308, allocations: 7.938 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.3309, allocations: 3.938 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.3309, allocations: 7.922 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.3312, allocations: 35.91 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.3314, allocations: 43.84 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3315, allocations: 23.94 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.3317, allocations: 23.91 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.3317, allocations: 23.92 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3318, allocations: 4 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.077e-05/0.3318, allocations: 4 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.3318, allocations: 19.86 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.3319, allocations: 23.86 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.332, allocations: 47.33 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.332, allocations: 0 / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.332, allocations: 3.938 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.332, allocations: 0 / 1.286 GB, free: 9.395 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.0005854/0.3326, allocations: 294.1 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3327, allocations: 8.031 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.781e-05/0.3327, allocations: 46.73 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.3329, allocations: 12.89 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3332, allocations: 122.5 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.3332, allocations: 4.375 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.3332, allocations: 384 / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.3334, allocations: 77.72 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3334, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3334, allocations: 4 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3335, allocations: 0 / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.3337, allocations: 39.97 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.3342, allocations: 263.8 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.3345, allocations: 62.48 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3346, allocations: 24.91 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3347, allocations: 3.984 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.3347, allocations: 34.56 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3347, allocations: 4 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004098/0.3351, allocations: 89.59 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3351, allocations: 55.34 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.3353, allocations: 122.1 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3353, allocations: 25.7 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.3354, allocations: 92.14 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.3354, allocations: 4.031 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.3354, allocations: 25.7 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000256/0.3357, allocations: 314.8 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.3358, allocations: 19.98 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.3359, allocations: 15.98 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.336, allocations: 40.83 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.336, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002382/0.3363, allocations: 73.56 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3363, allocations: 10.66 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3363, allocations: 7.875 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3363, allocations: 3.984 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.3364, allocations: 8 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3364, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.3365, allocations: 7.984 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3365, allocations: 7.938 kB / 1.287 GB, free: 7.312 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 9.604e-05/0.3366, allocations: 117.8 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3366, allocations: 3.953 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.3366, allocations: 12 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3367, allocations: 0 / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3367, allocations: 0 / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3367, allocations: 3.984 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.3369, allocations: 148.7 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3369, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.3369, allocations: 7.984 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3369, allocations: 8 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.337, allocations: 0 / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.337, allocations: 4 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.337, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.3373, allocations: 183.3 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.3373, allocations: 0 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3373, allocations: 0 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.3374, allocations: 8 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3374, allocations: 3.984 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.3374, allocations: 4 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.654e-05/0.3375, allocations: 99.95 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3375, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002333/0.3378, allocations: 8 kB / 1.288 GB, free: 6.641 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.0006122/0.3384, allocations: 0.701 MB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.3386, allocations: 36.02 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3386, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.3387, allocations: 24.06 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.339, allocations: 8 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3409, allocations: 1.363 MB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.3413, allocations: 0.6886 MB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.3413, allocations: 4 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.3414, allocations: 19.38 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of SimCode: time 4.9e-07/0.3414, allocations: 4 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.3737, allocations: 1.649 MB / 1.292 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 8.719 kB / 1.292 GB, free: 2.145 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.549589419038966]