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.001255/0.001255, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001421/0.001421, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.286/3.286, allocations: 0.49 GB / 0.7959 GB, free: 33.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_12_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.002017/0.002017, allocations: 67.12 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4223, allocations: 176.1 MB / 1.327 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.005405/0.4278, allocations: 1.575 MB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.4296, allocations: 0.5026 MB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.4297, allocations: 4 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.768e-05/0.4298, allocations: 7.922 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.294e-05/0.4299, allocations: 11.86 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.4303, allocations: 35.91 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.4305, allocations: 43.86 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.4307, allocations: 16.27 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.4309, allocations: 31.91 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.545e-05/0.431, allocations: 23.86 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.431, allocations: 4 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.656e-05/0.4311, allocations: 8 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.4311, allocations: 11.92 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.4312, allocations: 23.86 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.4314, allocations: 43.81 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4314, allocations: 0 / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4314, allocations: 0 / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4314, allocations: 0 / 1.329 GB, free: 15.68 MB / 1.029 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.0008302/0.4322, allocations: 298 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/0.4323, allocations: 12.03 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.896e-05/0.4323, allocations: 4.125 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.4324, allocations: 38.73 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.4326, allocations: 16.83 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.433, allocations: 126.5 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.433, allocations: 384 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.433, allocations: 8.375 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.4334, allocations: 65.59 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4334, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.4334, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4334, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.4337, allocations: 43.89 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.4345, allocations: 275.8 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.435, allocations: 58.48 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.4352, allocations: 20.91 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4352, allocations: 0 / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.4352, allocations: 46.55 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.4352, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006886/0.4359, allocations: 81.61 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.436, allocations: 51.41 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4362, allocations: 130.1 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.4362, allocations: 29.7 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.4363, allocations: 84.14 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.4363, allocations: 19.95 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.4364, allocations: 21.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002299/0.4366, allocations: 314.8 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4368, allocations: 15.98 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.437, allocations: 19.98 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.4373, allocations: 40.83 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4373, allocations: 8 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000418/0.4377, allocations: 65.62 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4377, allocations: 4 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4377, allocations: 0 / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.4378, allocations: 4 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4379, allocations: 11.92 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4379, allocations: 0 / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.438, allocations: 19.86 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.438, allocations: 4 kB / 1.331 GB, free: 13.57 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.00015/0.4382, allocations: 110.4 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.4382, allocations: 7.953 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.4383, allocations: 8 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4383, allocations: 3.938 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4383, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4383, allocations: 7.938 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.4386, allocations: 144.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4386, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.4388, allocations: 15.98 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4388, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4388, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4388, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4388, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.4393, allocations: 179.7 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.4393, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.4393, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.4395, allocations: 4.047 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.4395, allocations: 7.969 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4395, allocations: 3.938 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001152/0.4396, allocations: 99.27 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4396, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004155/0.4401, allocations: 4 kB / 1.331 GB, free: 12.9 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.0009584/0.441, allocations: 0.7007 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.4414, allocations: 35.91 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4414, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.4416, allocations: 19.98 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.4421, allocations: 17.66 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.445, allocations: 1.352 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.4455, allocations: 0.6883 MB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.288e-05/0.4456, allocations: 4 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.4456, allocations: 15.44 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/0.4456, allocations: 0 / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.4807, allocations: 1.69 MB / 1.336 GB, free: 8.402 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.03, allocations: 18.98 kB / 1.336 GB, free: 8.391 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.777109499962535]