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.001261/0.001261, 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.001275/0.001275, allocations: 192.5 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.404/2.404, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.5128, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1587/0.6715, allocations: 187.1 MB / 1.2 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.684, allocations: 13.03 MB / 1.213 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005989/0.6846, allocations: 27.88 kB / 1.213 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009533/0.6856, allocations: 417.2 kB / 1.213 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.6872, allocations: 0.9136 MB / 1.214 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.6885, allocations: 0.7043 MB / 1.215 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.6898, allocations: 1.504 MB / 1.216 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/0.6905, allocations: 0.6546 MB / 1.217 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.6931, allocations: 1.716 MB / 1.219 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.694, allocations: 0.5026 MB / 1.219 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.6941, allocations: 52 kB / 1.219 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.6953, allocations: 0.8731 MB / 1.22 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.6956, allocations: 283.2 kB / 1.22 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.6959, allocations: 382 kB / 1.221 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.697, allocations: 1.149 MB / 1.222 GB, free: 396 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.697, allocations: 0 / 1.222 GB, free: 396 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.697, allocations: 0 / 1.222 GB, free: 396 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.697, allocations: 4 kB / 1.222 GB, free: 392 kB / 0.9669 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.001172/0.6982, allocations: 1.052 MB / 1.223 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.6982, allocations: 8.031 kB / 1.223 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.059e-05/0.6983, allocations: 98.52 kB / 1.223 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008471/0.6992, allocations: 198.8 kB / 1.223 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.6998, allocations: 0.5169 MB / 1.224 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.7002, allocations: 105.2 kB / 1.224 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.99e-05/0.7002, allocations: 60 kB / 1.224 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/0.7012, allocations: 0.775 MB / 1.225 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.7013, allocations: 7.875 kB / 1.225 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.7013, allocations: 24 kB / 1.225 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.7014, allocations: 24.98 kB / 1.225 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.7022, allocations: 471.3 kB / 1.225 GB, free: 12.85 MB / 0.9825 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.003093/0.7053, allocations: 4.41 MB / 1.229 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.7054, allocations: 106.4 kB / 1.229 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.7055, allocations: 71.5 kB / 1.23 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.7057, allocations: 97.09 kB / 1.23 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.7057, allocations: 38.5 kB / 1.23 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.7057, allocations: 0 / 1.23 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005673/0.7063, allocations: 236.9 kB / 1.23 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.7063, allocations: 140.5 kB / 1.23 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/0.7073, allocations: 0.8446 MB / 1.231 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.7074, allocations: 37.7 kB / 1.231 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.7076, allocations: 398.8 kB / 1.231 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.7077, allocations: 43.48 kB / 1.231 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.7078, allocations: 89.88 kB / 1.231 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.7079, allocations: 322 kB / 1.232 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.7082, allocations: 120.7 kB / 1.232 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.7086, allocations: 369.7 kB / 1.232 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.7091, allocations: 449.8 kB / 1.233 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7091, allocations: 4 kB / 1.233 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008769/0.71, allocations: 0.5043 MB / 1.233 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.71, allocations: 9.719 kB / 1.233 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.71, allocations: 8 kB / 1.233 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.71, allocations: 12 kB / 1.233 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.7103, allocations: 100.4 kB / 1.233 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.7104, allocations: 15.92 kB / 1.233 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.711, allocations: 130.9 kB / 1.233 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.711, allocations: 20 kB / 1.233 GB, free: 3.73 MB / 0.9825 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.0002147/0.7112, allocations: 233.6 kB / 1.234 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.7114, allocations: 75.06 kB / 1.234 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.945e-05/0.7115, allocations: 70.17 kB / 1.234 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7115, allocations: 0 / 1.234 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7115, allocations: 8 kB / 1.234 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7115, allocations: 3.938 kB / 1.234 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.7126, allocations: 1.128 MB / 1.235 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7126, allocations: 0 / 1.235 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.657e-05/0.7127, allocations: 19.98 kB / 1.235 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.7127, allocations: 4 kB / 1.235 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.7127, allocations: 0 / 1.235 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.7127, allocations: 4 kB / 1.235 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.7127, allocations: 8.062 kB / 1.235 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.713, allocations: 260.2 kB / 1.235 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.7131, allocations: 180.1 kB / 1.235 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.7132, allocations: 4 kB / 1.235 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.7136, allocations: 15.98 kB / 1.235 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.7136, allocations: 27.86 kB / 1.235 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.7136, allocations: 4 kB / 1.235 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000716/0.7143, allocations: 0.5888 MB / 1.236 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.242e-06/0.7143, allocations: 0 / 1.236 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004769/0.7148, allocations: 159.8 kB / 1.236 GB, free: 0.7969 MB / 0.9825 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.0007066/0.7155, allocations: 0.8741 MB / 1.237 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.716, allocations: 253.1 kB / 1.237 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.716, allocations: 4 kB / 1.237 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.7161, allocations: 47.84 kB / 1.237 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.7176, allocations: 388.3 kB / 1.238 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/0.7236, allocations: 5.732 MB / 1.243 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.724, allocations: 0.937 MB / 1.244 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004327/0.7245, allocations: 154.1 kB / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.7247, allocations: 227.4 kB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.7247, allocations: 4 kB / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.221/5.945, allocations: 17.8 MB / 1.262 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/17.49, allocations: 11.83 kB / 1.262 GB, free: 231.9 MB / 0.9981 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