Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 390.3 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.4898, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002107/0.4919, allocations: 1.512 MB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004715/0.4924, allocations: 443.6 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.4924, allocations: 1.25 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.4925, allocations: 3.938 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.676e-05/0.4925, allocations: 9.312 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.4927, allocations: 25.52 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.233e-05/0.4928, allocations: 44.77 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.4928, allocations: 27.28 kB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.4929, allocations: 20.77 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.493, allocations: 20.72 kB / 0.9518 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.493, allocations: 4.688 kB / 0.9518 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.493, allocations: 3.031 kB / 0.9518 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.493, allocations: 13.38 kB / 0.9518 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.4931, allocations: 17.23 kB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.55e-05/0.4931, allocations: 48.56 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4931, allocations: 0 / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4931, allocations: 1.156 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.4932, allocations: 0 / 0.9518 GB, free: 7.492 MB / 0.7169 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.0003603/0.4935, allocations: 362.5 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.4936, allocations: 9.438 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.153e-05/0.4936, allocations: 41.11 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.4936, allocations: 7.562 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.823e-05/0.4937, allocations: 179.1 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4937, allocations: 5.625 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.4937, allocations: 3.094 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4939, allocations: 71.44 kB / 0.9525 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.4939, allocations: 0 / 0.9525 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.4939, allocations: 0 / 0.9525 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4939, allocations: 1.219 kB / 0.9525 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.4941, allocations: 39.81 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.4944, allocations: 302.9 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.4947, allocations: 62.41 kB / 0.9529 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.4948, allocations: 24.84 kB / 0.9529 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.4948, allocations: 5.219 kB / 0.9529 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.578e-06/0.4948, allocations: 38.44 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4948, allocations: 0.9688 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003133/0.4951, allocations: 80.09 kB / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.57e-05/0.4952, allocations: 55.41 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.4952, allocations: 121.6 kB / 0.9532 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.944e-06/0.4952, allocations: 29.7 kB / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/0.4953, allocations: 86.52 kB / 0.9533 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.4953, allocations: 13.12 kB / 0.9533 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.4953, allocations: 21.45 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.4953, allocations: 320.1 kB / 0.9536 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.4954, allocations: 13.52 kB / 0.9537 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.4955, allocations: 21.22 kB / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.4957, allocations: 52.92 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4957, allocations: 0 / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001786/0.4959, allocations: 62.45 kB / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.4959, allocations: 6.812 kB / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4959, allocations: 0 / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.4959, allocations: 1.062 kB / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.496, allocations: 14.89 kB / 0.9538 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.496, allocations: 4 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.496, allocations: 12.14 kB / 0.9538 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.496, allocations: 3.938 kB / 0.9538 GB, free: 5.523 MB / 0.7169 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 3.845e-05/0.4961, allocations: 109.1 kB / 0.9539 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.4961, allocations: 2.781 kB / 0.9539 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.4961, allocations: 13.31 kB / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4961, allocations: 0 / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4962, allocations: 1.5 kB / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.4962, allocations: 0 / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.4963, allocations: 178.7 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4963, allocations: 0 / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/0.4964, allocations: 10.73 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4964, allocations: 5.031 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.4964, allocations: 0 / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4964, allocations: 5.562 kB / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4964, allocations: 0 / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.4966, allocations: 176.9 kB / 0.9543 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.4966, allocations: 79.52 kB / 0.9544 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.4966, allocations: 0 / 0.9544 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.4967, allocations: 3.375 kB / 0.9544 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.4967, allocations: 5.109 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.4967, allocations: 1.188 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.4968, allocations: 105.2 kB / 0.9545 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4968, allocations: 0 / 0.9545 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002034/0.497, allocations: 10.59 kB / 0.9545 GB, free: 4.809 MB / 0.7169 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.0003106/0.4973, allocations: 0.6933 MB / 0.9552 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.4975, allocations: 42.78 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4975, allocations: 5.188 kB / 0.9552 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.4976, allocations: 19.98 kB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.4978, allocations: 6.922 kB / 0.9552 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.4989, allocations: 1.341 MB / 0.9566 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.499, allocations: 0.6882 MB / 0.9572 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.499, allocations: 2.594 kB / 0.9572 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.4991, allocations: 17.55 kB / 0.9572 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4991, allocations: 0 / 0.9572 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2657/0.7648, allocations: 1.489 MB / 0.9587 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.851, allocations: 7.562 kB / 0.9587 GB, free: 1.27 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches