Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 108.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.161/3.161, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.22 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3261, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003145/0.3292, allocations: 1.53 MB / 1.305 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.3301, allocations: 446.8 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.3302, allocations: 0 / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.3302, allocations: 3.938 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.3303, allocations: 7.938 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.3305, allocations: 23.91 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.3305, allocations: 39.91 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3306, allocations: 15.94 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3308, allocations: 31.91 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.3308, allocations: 23.84 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.3308, allocations: 4 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.3308, allocations: 4 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.3309, allocations: 4 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.3309, allocations: 23.86 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.331, allocations: 52.02 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.331, allocations: 0 / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.243e-06/0.331, allocations: 0 / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.331, allocations: 0 / 1.306 GB, free: 15.34 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.0005756/0.3316, allocations: 367.3 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3316, allocations: 8.922 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.3317, allocations: 34.73 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.3317, allocations: 4.938 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3319, allocations: 184.2 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3319, allocations: 384 / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3319, allocations: 4.375 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3321, allocations: 65.78 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3321, allocations: 4 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3321, allocations: 4 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3321, allocations: 4 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.3323, allocations: 35.97 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.3328, allocations: 300.6 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.3331, allocations: 62.55 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.3332, allocations: 20.91 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3332, allocations: 7.969 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3332, allocations: 38.56 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3332, allocations: 3.938 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0003628/0.3336, allocations: 85.61 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3336, allocations: 51.41 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3338, allocations: 117.8 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3338, allocations: 29.69 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.3338, allocations: 92.14 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.3339, allocations: 11.84 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.3339, allocations: 17.72 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.334, allocations: 322.8 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.3341, allocations: 19.98 kB / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/0.3342, allocations: 15.98 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3344, allocations: 40.77 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3344, allocations: 4 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000212/0.3346, allocations: 65.67 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3346, allocations: 12 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3346, allocations: 0 / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3346, allocations: 0 / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.3347, allocations: 11.98 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3347, allocations: 0 / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.3348, allocations: 11.94 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3348, allocations: 3.938 kB / 1.308 GB, free: 13.09 MB / 1.014 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.205e-05/0.3349, allocations: 121.3 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3349, allocations: 4 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.3349, allocations: 11.91 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3349, allocations: 0 / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3349, allocations: 7.875 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3349, allocations: 0 / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.3351, allocations: 177.5 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3351, allocations: 0 / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.3352, allocations: 11.98 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3352, allocations: 0 / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3352, allocations: 0 / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3352, allocations: 4 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3352, allocations: 4 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.3355, allocations: 167.4 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3356, allocations: 85.06 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3356, allocations: 0 / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.3357, allocations: 8 kB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3357, allocations: 3.984 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.3357, allocations: 4 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.187e-05/0.3358, allocations: 103.6 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3358, allocations: 3.938 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000218/0.336, allocations: 4 kB / 1.309 GB, free: 12.28 MB / 1.014 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.000636/0.3366, allocations: 0.7012 MB / 1.309 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.3368, allocations: 35.97 kB / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3369, allocations: 0 / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.437e-05/0.3369, allocations: 19.92 kB / 1.309 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.3373, allocations: 10.19 kB / 1.309 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3389, allocations: 1.361 MB / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3393, allocations: 0.6807 MB / 1.311 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.3393, allocations: 0 / 1.311 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.3393, allocations: 19.42 kB / 1.311 GB, free: 9.328 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.3393, allocations: 0 / 1.311 GB, free: 9.328 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.3628, allocations: 1.531 MB / 1.313 GB, free: 7.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.45, allocations: 7.203 kB / 1.313 GB, free: 7.906 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.009596484247595]