Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_10_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.006513/0.006513, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001249/0.001249, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437.1 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8675, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2059/1.073, allocations: 187.1 MB / 1.349 GB, free: 7.957 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01624/1.09, allocations: 13.02 MB / 1.362 GB, free: 10.9 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/1.091, allocations: 35.75 kB / 1.362 GB, free: 10.86 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/1.092, allocations: 417.3 kB / 1.362 GB, free: 10.45 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/1.095, allocations: 0.9605 MB / 1.363 GB, free: 9.488 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/1.097, allocations: 0.7134 MB / 1.364 GB, free: 8.781 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002263/1.1, allocations: 1.513 MB / 1.365 GB, free: 7.266 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/1.101, allocations: 0.6546 MB / 1.366 GB, free: 6.594 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/1.105, allocations: 1.782 MB / 1.368 GB, free: 4.805 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/1.107, allocations: 0.4945 MB / 1.368 GB, free: 4.312 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/1.107, allocations: 52 kB / 1.368 GB, free: 4.262 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/1.109, allocations: 0.877 MB / 1.369 GB, free: 3.383 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004449/1.109, allocations: 283.2 kB / 1.369 GB, free: 3.105 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008013/1.11, allocations: 386 kB / 1.37 GB, free: 2.727 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002537/1.113, allocations: 1.168 MB / 1.371 GB, free: 1.555 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.113, allocations: 0 / 1.371 GB, free: 1.555 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.664e-06/1.113, allocations: 0 / 1.371 GB, free: 1.555 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.468e-05/1.113, allocations: 0 / 1.371 GB, free: 1.555 MB / 1.092 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.002213/1.115, allocations: 1.055 MB / 1.372 GB, free: 460 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.115, allocations: 12.92 kB / 1.372 GB, free: 448 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/1.115, allocations: 98.52 kB / 1.372 GB, free: 340 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/1.116, allocations: 190.8 kB / 1.372 GB, free: 148 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/1.118, allocations: 0.5519 MB / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/1.118, allocations: 49.3 kB / 1.373 GB, free: 15.51 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/1.118, allocations: 56 kB / 1.373 GB, free: 15.45 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/1.119, allocations: 0.7711 MB / 1.373 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/1.119, allocations: 3.938 kB / 1.373 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/1.119, allocations: 31.94 kB / 1.373 GB, free: 14.54 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/1.119, allocations: 24.98 kB / 1.373 GB, free: 14.51 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/1.12, allocations: 459.3 kB / 1.374 GB, free: 14.06 MB / 1.107 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.004575/1.125, allocations: 4.378 MB / 1.378 GB, free: 9.453 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/1.125, allocations: 106.4 kB / 1.378 GB, free: 9.312 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/1.125, allocations: 79.42 kB / 1.378 GB, free: 9.223 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/1.125, allocations: 97.09 kB / 1.378 GB, free: 9.109 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/1.125, allocations: 38.5 kB / 1.379 GB, free: 9.062 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/1.125, allocations: 4 kB / 1.379 GB, free: 9.059 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0007234/1.126, allocations: 240.5 kB / 1.379 GB, free: 8.816 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/1.126, allocations: 132.5 kB / 1.379 GB, free: 8.656 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/1.127, allocations: 0.8411 MB / 1.38 GB, free: 7.809 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/1.127, allocations: 33.64 kB / 1.38 GB, free: 7.77 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/1.128, allocations: 402.8 kB / 1.38 GB, free: 7.371 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/1.128, allocations: 43.45 kB / 1.38 GB, free: 7.328 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.128, allocations: 85.97 kB / 1.38 GB, free: 7.238 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.128, allocations: 321.9 kB / 1.381 GB, free: 6.918 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/1.128, allocations: 112.7 kB / 1.381 GB, free: 6.809 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/1.129, allocations: 371.3 kB / 1.381 GB, free: 6.332 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/1.129, allocations: 445.5 kB / 1.381 GB, free: 5.789 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.129, allocations: 4 kB / 1.381 GB, free: 5.785 MB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000953/1.13, allocations: 0.4887 MB / 1.382 GB, free: 5.289 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.13, allocations: 8 kB / 1.382 GB, free: 5.281 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.13, allocations: 11.94 kB / 1.382 GB, free: 5.27 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/1.13, allocations: 12 kB / 1.382 GB, free: 5.258 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/1.131, allocations: 95.88 kB / 1.382 GB, free: 5.164 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.131, allocations: 12.38 kB / 1.382 GB, free: 5.152 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/1.131, allocations: 119 kB / 1.382 GB, free: 5.035 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/1.131, allocations: 27.98 kB / 1.382 GB, free: 5.008 MB / 1.107 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.0002661/1.132, allocations: 229.6 kB / 1.382 GB, free: 4.773 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/1.132, allocations: 71.16 kB / 1.382 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/1.132, allocations: 70.17 kB / 1.383 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.132, allocations: 4 kB / 1.383 GB, free: 4.629 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.132, allocations: 0 / 1.383 GB, free: 4.629 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.132, allocations: 7.938 kB / 1.383 GB, free: 4.621 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/1.133, allocations: 1.116 MB / 1.384 GB, free: 3.414 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.133, allocations: 4 kB / 1.384 GB, free: 3.41 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/1.134, allocations: 20.3 kB / 1.384 GB, free: 3.391 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.134, allocations: 4.469 kB / 1.384 GB, free: 3.387 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/1.134, allocations: 8 kB / 1.384 GB, free: 3.379 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/1.134, allocations: 15.86 kB / 1.384 GB, free: 3.363 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.134, allocations: 4 kB / 1.384 GB, free: 3.359 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/1.134, allocations: 263.8 kB / 1.384 GB, free: 3.055 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/1.134, allocations: 168.2 kB / 1.384 GB, free: 2.871 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/1.134, allocations: 8 kB / 1.384 GB, free: 2.863 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/1.135, allocations: 28.03 kB / 1.384 GB, free: 2.836 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/1.135, allocations: 19.86 kB / 1.384 GB, free: 2.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/1.135, allocations: 4.094 kB / 1.384 GB, free: 2.812 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007859/1.135, allocations: 0.5926 MB / 1.385 GB, free: 2.223 MB / 1.107 GB Notification: Performance of sort global known variables: time 5.01e-07/1.135, allocations: 0 / 1.385 GB, free: 2.223 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005682/1.136, allocations: 155.8 kB / 1.385 GB, free: 2.07 MB / 1.107 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.0008942/1.137, allocations: 0.8778 MB / 1.386 GB, free: 1.152 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005162/1.137, allocations: 245.2 kB / 1.386 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.137, allocations: 0 / 1.386 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/1.138, allocations: 51.84 kB / 1.386 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.139, allocations: 389.2 kB / 1.386 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/1.146, allocations: 5.431 MB / 1.392 GB, free: 10.7 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/1.147, allocations: 0.9409 MB / 1.393 GB, free: 9.734 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004775/1.147, allocations: 150.1 kB / 1.393 GB, free: 9.586 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.147, allocations: 231.4 kB / 1.393 GB, free: 9.359 MB / 1.123 GB Notification: Performance of SimCode: time 3.11e-07/1.147, allocations: 0 / 1.393 GB, free: 9.359 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/1.19, allocations: 17.98 MB / 1.411 GB, free: 7.707 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.773/9.963, allocations: 13.09 kB / 1.411 GB, free: 7.699 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches