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.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.001793/0.001793, allocations: 112.1 kB / 17.6 MB, free: 4.668 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.002342/0.002342, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.699/2.699, allocations: 476.7 MB / 0.7629 GB, free: 15.07 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9408/0.9429, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002876/0.9457, allocations: 1.554 MB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007689/0.9465, allocations: 437 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.9466, allocations: 4.75 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.9466, allocations: 5.109 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.769e-05/0.9467, allocations: 14.22 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.9469, allocations: 29.98 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.947, allocations: 43.47 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.9471, allocations: 15.22 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.9472, allocations: 23.42 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.9473, allocations: 23.36 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.9473, allocations: 3.781 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.9473, allocations: 7.344 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.9474, allocations: 11.89 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.9474, allocations: 18.48 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.9475, allocations: 51.33 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9475, allocations: 0.875 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9475, allocations: 3.938 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.9475, allocations: 0 / 1.274 GB, free: 6.195 MB / 0.9981 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.0005243/0.9481, allocations: 355.4 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.9481, allocations: 13.88 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.9481, allocations: 36.78 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.9482, allocations: 7.609 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.9483, allocations: 169.4 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.9483, allocations: 5.906 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.9483, allocations: 3.984 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.9485, allocations: 71.69 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.9485, allocations: 0.6562 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.9486, allocations: 0.9062 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.9486, allocations: 4.719 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.9488, allocations: 40.08 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.9492, allocations: 299.6 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.9495, allocations: 68.69 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/0.9496, allocations: 22.41 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.9496, allocations: 0.9688 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.9496, allocations: 35.53 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.9496, allocations: 0 / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000381/0.95, allocations: 94.94 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.95, allocations: 60.44 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.9501, allocations: 118 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.9501, allocations: 26.39 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.9502, allocations: 89.16 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.9502, allocations: 4.797 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.9502, allocations: 17.27 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/0.9503, allocations: 321.9 kB / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.9504, allocations: 17.62 kB / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.9505, allocations: 18.45 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.9506, allocations: 39.2 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9506, allocations: 0 / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002029/0.9508, allocations: 72.77 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9508, allocations: 5.312 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.9508, allocations: 0.9688 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.9509, allocations: 4 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.9509, allocations: 14.03 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.9509, allocations: 0.9062 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.951, allocations: 9.156 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.951, allocations: 8.75 kB / 1.276 GB, free: 4.352 MB / 0.9981 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 5.008e-05/0.9511, allocations: 110.2 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.9511, allocations: 6.016 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.9511, allocations: 12.72 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9511, allocations: 5.094 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9511, allocations: 0 / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.9511, allocations: 0 / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.9513, allocations: 176.5 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9513, allocations: 0 / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.9513, allocations: 9.375 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9513, allocations: 0.9062 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.9514, allocations: 1.359 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9514, allocations: 0.8438 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9514, allocations: 0.8125 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.9516, allocations: 180.3 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.9516, allocations: 80.14 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.9516, allocations: 0.7812 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.9517, allocations: 5.516 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.9518, allocations: 0.9688 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.9518, allocations: 0.875 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.9518, allocations: 105.5 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9518, allocations: 0 / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002186/0.952, allocations: 5.906 kB / 1.276 GB, free: 3.672 MB / 0.9981 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.0004105/0.9524, allocations: 0.6988 MB / 1.277 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.9527, allocations: 45.47 kB / 1.277 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9527, allocations: 0.5938 kB / 1.277 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.9528, allocations: 21.19 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.9531, allocations: 3.875 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.9545, allocations: 1.374 MB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.9549, allocations: 0.6829 MB / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.9549, allocations: 6.781 kB / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.955, allocations: 21.31 kB / 1.279 GB, free: 17.02 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.955, allocations: 0 / 1.279 GB, free: 17.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.9796, allocations: 1.495 MB / 1.281 GB, free: 16.64 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.789, allocations: 1.844 kB / 1.281 GB, free: 16.64 MB / 1.014 GB " [Timeout remaining time 291] (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 --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_2/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: 14.855568947998108]