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.004961/0.004961, allocations: 101.3 kB / 15.73 MB, free: 6.066 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.001399/0.001399, allocations: 197.1 kB / 16.68 MB, free: 5.973 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.247/2.247, allocations: 437.1 MB / 0.7106 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 67.89 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5994, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1874/0.7869, allocations: 187.1 MB / 1.349 GB, free: 7.953 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.8017, allocations: 13.04 MB / 1.362 GB, free: 10.88 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008534/0.8026, allocations: 31.81 kB / 1.362 GB, free: 10.85 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.8037, allocations: 413.3 kB / 1.362 GB, free: 10.44 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.8057, allocations: 0.9175 MB / 1.363 GB, free: 9.52 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.8073, allocations: 0.7138 MB / 1.364 GB, free: 8.809 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.809, allocations: 1.498 MB / 1.365 GB, free: 7.309 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008208/0.8098, allocations: 0.6673 MB / 1.366 GB, free: 6.625 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.8129, allocations: 1.716 MB / 1.367 GB, free: 4.902 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.814, allocations: 0.5028 MB / 1.368 GB, free: 4.402 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.949e-05/0.8141, allocations: 52 kB / 1.368 GB, free: 4.352 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.8155, allocations: 0.8809 MB / 1.369 GB, free: 3.469 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.8157, allocations: 271.3 kB / 1.369 GB, free: 3.203 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.8161, allocations: 390 kB / 1.369 GB, free: 2.82 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.8175, allocations: 1.171 MB / 1.371 GB, free: 1.645 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8175, allocations: 4 kB / 1.371 GB, free: 1.641 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8175, allocations: 0 / 1.371 GB, free: 1.641 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.577e-06/0.8176, allocations: 0 / 1.371 GB, free: 1.641 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.001343/0.8189, allocations: 1.08 MB / 1.372 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.8189, allocations: 8.922 kB / 1.372 GB, free: 0.5 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.8191, allocations: 98.52 kB / 1.372 GB, free: 404 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008557/0.8199, allocations: 203.2 kB / 1.372 GB, free: 200 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.8207, allocations: 0.5524 MB / 1.373 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.8208, allocations: 41.31 kB / 1.373 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.8208, allocations: 60 kB / 1.373 GB, free: 15.51 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.8219, allocations: 0.7828 MB / 1.373 GB, free: 14.61 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.822, allocations: 4 kB / 1.373 GB, free: 14.61 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/0.822, allocations: 27.94 kB / 1.373 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.8221, allocations: 28.92 kB / 1.373 GB, free: 14.55 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.8229, allocations: 467.2 kB / 1.374 GB, free: 14.1 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.003641/0.8266, allocations: 4.379 MB / 1.378 GB, free: 9.488 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.8267, allocations: 106.3 kB / 1.378 GB, free: 9.348 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.788e-05/0.8268, allocations: 75.58 kB / 1.378 GB, free: 9.262 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.827, allocations: 89.11 kB / 1.378 GB, free: 9.156 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.827, allocations: 42.55 kB / 1.378 GB, free: 9.105 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.827, allocations: 0 / 1.378 GB, free: 9.105 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0005874/0.8276, allocations: 245.3 kB / 1.379 GB, free: 8.859 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.8277, allocations: 132.5 kB / 1.379 GB, free: 8.699 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.8287, allocations: 0.845 MB / 1.38 GB, free: 7.848 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.8288, allocations: 25.7 kB / 1.38 GB, free: 7.816 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.8291, allocations: 411.7 kB / 1.38 GB, free: 7.41 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.8291, allocations: 47.61 kB / 1.38 GB, free: 7.363 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.8293, allocations: 89.98 kB / 1.38 GB, free: 7.27 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8294, allocations: 329.9 kB / 1.381 GB, free: 6.941 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.8297, allocations: 108.7 kB / 1.381 GB, free: 6.836 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.8301, allocations: 369.7 kB / 1.381 GB, free: 6.359 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.8307, allocations: 441.6 kB / 1.381 GB, free: 5.82 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8307, allocations: 4 kB / 1.381 GB, free: 5.816 MB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008683/0.8316, allocations: 0.4968 MB / 1.382 GB, free: 5.312 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8316, allocations: 8 kB / 1.382 GB, free: 5.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.8316, allocations: 8 kB / 1.382 GB, free: 5.297 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8316, allocations: 8 kB / 1.382 GB, free: 5.289 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.832, allocations: 96.39 kB / 1.382 GB, free: 5.195 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.832, allocations: 23.92 kB / 1.382 GB, free: 5.172 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.8326, allocations: 115.2 kB / 1.382 GB, free: 5.059 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.8326, allocations: 24 kB / 1.382 GB, free: 5.035 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.0002351/0.8329, allocations: 235.8 kB / 1.382 GB, free: 4.797 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.833, allocations: 75.53 kB / 1.382 GB, free: 4.723 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.8331, allocations: 74.17 kB / 1.383 GB, free: 4.648 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8331, allocations: 0 / 1.383 GB, free: 4.648 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8331, allocations: 7.938 kB / 1.383 GB, free: 4.641 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.8331, allocations: 3.938 kB / 1.383 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.8344, allocations: 1.12 MB / 1.384 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8344, allocations: 320 / 1.384 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-05/0.8345, allocations: 27.92 kB / 1.384 GB, free: 3.398 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.8345, allocations: 4 kB / 1.384 GB, free: 3.395 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.8345, allocations: 8 kB / 1.384 GB, free: 3.387 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8345, allocations: 0 / 1.384 GB, free: 3.387 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8345, allocations: 4 kB / 1.384 GB, free: 3.383 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.8348, allocations: 264.2 kB / 1.384 GB, free: 3.078 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.835, allocations: 180.5 kB / 1.384 GB, free: 2.883 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.8351, allocations: 4 kB / 1.384 GB, free: 2.879 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.8354, allocations: 19.98 kB / 1.384 GB, free: 2.859 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.8354, allocations: 15.98 kB / 1.384 GB, free: 2.844 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.8354, allocations: 12 kB / 1.384 GB, free: 2.832 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007796/0.8362, allocations: 0.5849 MB / 1.385 GB, free: 2.25 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8362, allocations: 0 / 1.385 GB, free: 2.25 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004821/0.8367, allocations: 155.8 kB / 1.385 GB, free: 2.098 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.0008766/0.8376, allocations: 0.8925 MB / 1.386 GB, free: 1.168 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004785/0.8381, allocations: 249.1 kB / 1.386 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8381, allocations: 0 / 1.386 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.8381, allocations: 43.91 kB / 1.386 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.8396, allocations: 387.5 kB / 1.386 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006637/0.8463, allocations: 5.466 MB / 1.392 GB, free: 10.69 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.8468, allocations: 0.937 MB / 1.393 GB, free: 9.727 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000388/0.8472, allocations: 146.1 kB / 1.393 GB, free: 9.582 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.8475, allocations: 235.3 kB / 1.393 GB, free: 9.352 MB / 1.123 GB Notification: Performance of SimCode: time 2.034e-06/0.8475, allocations: 0 / 1.393 GB, free: 9.352 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.715/3.562, allocations: 17.98 MB / 1.411 GB, free: 7.688 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/15.33, allocations: 16.02 kB / 1.411 GB, free: 7.676 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=400 --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