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.001193/0.001193, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.001107/0.001107, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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 0.9108/0.9108, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.712/1.712, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.9504 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.402e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00282/0.002844, allocations: 1.538 MB / 0.952 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008844/0.003728, allocations: 491.2 kB / 0.9524 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.003794, allocations: 3.938 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.00383, allocations: 7.922 kB / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.003889, allocations: 7.938 kB / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.004201, allocations: 35.89 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.004321, allocations: 43.8 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.004438, allocations: 11.98 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.004622, allocations: 39.89 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.941e-05/0.004661, allocations: 19.92 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.004678, allocations: 4 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.004722, allocations: 8 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.004739, allocations: 15.91 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.004763, allocations: 8 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.004911, allocations: 59.73 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.004914, allocations: 0 / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.743e-06/0.004916, allocations: 0 / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004921, allocations: 0 / 0.9527 GB, free: 1.207 MB / 0.9011 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.0004834/0.005404, allocations: 295.8 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.00545, allocations: 12.03 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.00549, allocations: 38.73 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.005617, allocations: 8.938 kB / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.005836, allocations: 125.7 kB / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.00586, allocations: 384 / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.005873, allocations: 4.375 kB / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.00605, allocations: 66.16 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006059, allocations: 192 / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.006074, allocations: 16.12 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.006079, allocations: 0 / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.006214, allocations: 39.97 kB / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.006608, allocations: 255.9 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.00688, allocations: 62.48 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/0.006955, allocations: 24.91 kB / 0.9536 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.006976, allocations: 4 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.007001, allocations: 34.5 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.007002, allocations: 0 / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003128/0.007315, allocations: 93.78 kB / 0.9537 GB, free: 12 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.007369, allocations: 55.34 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.007462, allocations: 121.3 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.007473, allocations: 25.7 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.007522, allocations: 92.12 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.007545, allocations: 19.84 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.00758, allocations: 13.72 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.007687, allocations: 326.8 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.007754, allocations: 15.98 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.007811, allocations: 15.97 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.007935, allocations: 40.83 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.007937, allocations: 0 / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001679/0.008105, allocations: 73.67 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.008121, allocations: 4 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.008128, allocations: 3.938 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.008144, allocations: 4 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.008202, allocations: 11.98 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.008207, allocations: 0 / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.008246, allocations: 7.953 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.008253, allocations: 0 / 0.9545 GB, free: 15.14 MB / 0.9167 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 7.965e-05/0.008332, allocations: 125.7 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.008357, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.008393, allocations: 8 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.008395, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.0084, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.008403, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.008572, allocations: 144.7 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008574, allocations: 0 / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.008622, allocations: 8 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008625, allocations: 0 / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.008636, allocations: 7.984 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008638, allocations: 0 / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008639, allocations: 4 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.008847, allocations: 171.4 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.008863, allocations: 15.88 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.008877, allocations: 0 / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.508e-05/0.008942, allocations: 4 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.008972, allocations: 0 / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.008978, allocations: 3.984 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.009031, allocations: 99.27 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009031, allocations: 0 / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002438/0.009274, allocations: 8 kB / 0.9551 GB, free: 14.47 MB / 0.9167 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.0004401/0.009715, allocations: 0.7006 MB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.009893, allocations: 39.97 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009894, allocations: 0 / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.009957, allocations: 20.31 kB / 0.9558 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.01024, allocations: 4 kB / 0.9558 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.01159, allocations: 1.37 MB / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.644e-05/0.01165, allocations: 71.33 kB / 0.9572 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.01169, allocations: 0 / 0.9572 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.01173, allocations: 20.5 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.01173, allocations: 0 / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.02746, allocations: 2.199 MB / 0.9594 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.077, allocations: 8.062 kB / 0.9594 GB, free: 10.06 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable cheEqu.u1 in file Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u1 from file Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! Error: Could not read variable cheEqu.u2 in file Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv. Warning: Get data of variable cheEqu.u2 from file Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.227459411136806]