Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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 12.0.0-master/package.mo", uses=false) 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.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.005113/0.005113, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.496/2.496, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 64.77 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2782, allocations: 162.3 MB / 1.242 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1858/0.4641, allocations: 187.2 MB / 1.425 GB, free: 13.02 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.4786, allocations: 13.03 MB / 1.437 GB, free: 15.95 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007131/0.4794, allocations: 31.88 kB / 1.437 GB, free: 15.92 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.4804, allocations: 417.2 kB / 1.438 GB, free: 15.52 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.4823, allocations: 0.9097 MB / 1.439 GB, free: 14.6 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.4839, allocations: 0.7037 MB / 1.439 GB, free: 13.9 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.4855, allocations: 1.5 MB / 1.441 GB, free: 12.39 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.4864, allocations: 0.6624 MB / 1.441 GB, free: 11.72 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.4898, allocations: 1.825 MB / 1.443 GB, free: 9.887 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.4909, allocations: 0.4902 MB / 1.444 GB, free: 9.398 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.192e-05/0.491, allocations: 52 kB / 1.444 GB, free: 9.348 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.4924, allocations: 0.8692 MB / 1.445 GB, free: 8.477 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.4927, allocations: 279.2 kB / 1.445 GB, free: 8.199 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.493, allocations: 382 kB / 1.445 GB, free: 7.824 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.4945, allocations: 1.179 MB / 1.446 GB, free: 6.641 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4945, allocations: 0 / 1.446 GB, free: 6.641 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4945, allocations: 0 / 1.446 GB, free: 6.641 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.4945, allocations: 0 / 1.446 GB, free: 6.641 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00133/0.4959, allocations: 1.077 MB / 1.447 GB, free: 5.508 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.4959, allocations: 8.031 kB / 1.447 GB, free: 5.5 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.496, allocations: 106.5 kB / 1.448 GB, free: 5.387 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008432/0.4969, allocations: 199.2 kB / 1.448 GB, free: 5.191 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.4977, allocations: 0.5486 MB / 1.448 GB, free: 4.605 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.4977, allocations: 45.31 kB / 1.448 GB, free: 4.562 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.4978, allocations: 60 kB / 1.448 GB, free: 4.504 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4989, allocations: 0.775 MB / 1.449 GB, free: 3.613 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4989, allocations: 7.938 kB / 1.449 GB, free: 3.605 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/0.499, allocations: 27.94 kB / 1.449 GB, free: 3.578 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.499, allocations: 21 kB / 1.449 GB, free: 3.559 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008491/0.4999, allocations: 467.1 kB / 1.45 GB, free: 3.102 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.5035, allocations: 4.451 MB / 1.454 GB, free: 14.4 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.5037, allocations: 106.4 kB / 1.454 GB, free: 14.26 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.5038, allocations: 71.59 kB / 1.454 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.5039, allocations: 97.09 kB / 1.454 GB, free: 14.07 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.504, allocations: 50.42 kB / 1.454 GB, free: 14.01 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.504, allocations: 0 / 1.454 GB, free: 14.01 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0005914/0.5046, allocations: 237 kB / 1.455 GB, free: 13.77 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/0.5047, allocations: 140.7 kB / 1.455 GB, free: 13.6 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.5057, allocations: 0.837 MB / 1.456 GB, free: 12.75 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.5057, allocations: 29.7 kB / 1.456 GB, free: 12.72 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.5061, allocations: 415.6 kB / 1.456 GB, free: 12.31 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.5061, allocations: 39.69 kB / 1.456 GB, free: 12.27 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.5062, allocations: 93.97 kB / 1.456 GB, free: 12.17 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5064, allocations: 329.9 kB / 1.456 GB, free: 11.84 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.5066, allocations: 108.7 kB / 1.456 GB, free: 11.74 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.5071, allocations: 374.9 kB / 1.457 GB, free: 11.26 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.5076, allocations: 437.5 kB / 1.457 GB, free: 10.72 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.5077, allocations: 8 kB / 1.457 GB, free: 10.71 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008746/0.5085, allocations: 0.497 MB / 1.458 GB, free: 10.21 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5086, allocations: 10.88 kB / 1.458 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5086, allocations: 8 kB / 1.458 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.5086, allocations: 12 kB / 1.458 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.5089, allocations: 95.83 kB / 1.458 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.5089, allocations: 19.92 kB / 1.458 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.5095, allocations: 115.3 kB / 1.458 GB, free: 9.957 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.5095, allocations: 20 kB / 1.458 GB, free: 9.938 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002415/0.5098, allocations: 239.1 kB / 1.458 GB, free: 9.695 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.5099, allocations: 79.48 kB / 1.458 GB, free: 9.617 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.51, allocations: 70.17 kB / 1.458 GB, free: 9.547 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.51, allocations: 0 / 1.458 GB, free: 9.547 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.51, allocations: 4 kB / 1.458 GB, free: 9.543 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5101, allocations: 7.938 kB / 1.458 GB, free: 9.535 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.5113, allocations: 1.128 MB / 1.459 GB, free: 8.316 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5113, allocations: 0 / 1.459 GB, free: 8.316 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.5114, allocations: 19.98 kB / 1.46 GB, free: 8.297 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.5114, allocations: 4 kB / 1.46 GB, free: 8.293 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.5114, allocations: 0 / 1.46 GB, free: 8.293 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5114, allocations: 4 kB / 1.46 GB, free: 8.289 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.5114, allocations: 7.938 kB / 1.46 GB, free: 8.281 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.5117, allocations: 268.5 kB / 1.46 GB, free: 7.973 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.5119, allocations: 180.5 kB / 1.46 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.512, allocations: 4 kB / 1.46 GB, free: 7.773 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.5123, allocations: 15.98 kB / 1.46 GB, free: 7.758 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.5124, allocations: 19.86 kB / 1.46 GB, free: 7.738 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.5124, allocations: 8 kB / 1.46 GB, free: 7.73 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007644/0.5131, allocations: 0.5849 MB / 1.461 GB, free: 7.148 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5131, allocations: 0 / 1.461 GB, free: 7.148 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004967/0.5136, allocations: 159.8 kB / 1.461 GB, free: 6.992 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0008682/0.5145, allocations: 0.9019 MB / 1.462 GB, free: 6.051 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004716/0.515, allocations: 240.6 kB / 1.462 GB, free: 5.816 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.515, allocations: 4 kB / 1.462 GB, free: 5.812 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 6.529e-05/0.5151, allocations: 45.36 kB / 1.462 GB, free: 5.77 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.5166, allocations: 381.9 kB / 1.462 GB, free: 5.406 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.5231, allocations: 5.458 MB / 1.468 GB, free: 15.59 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.5236, allocations: 0.9408 MB / 1.468 GB, free: 14.62 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003831/0.524, allocations: 138.1 kB / 1.469 GB, free: 14.49 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.5243, allocations: 231.4 kB / 1.469 GB, free: 14.26 MB / 1.201 GB Notification: Performance of SimCode: time 3.21e-07/0.5243, allocations: 0 / 1.469 GB, free: 14.26 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.267/2.791, allocations: 18 MB / 1.486 GB, free: 12.62 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.23/23.02, allocations: 15.59 kB / 1.486 GB, free: 12.61 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches