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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 215 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.916/2.916, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 66.55 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2934, allocations: 179 MB / 1.345 GB, free: 452 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1978/0.4911, allocations: 191.1 MB / 1.532 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.5064, allocations: 13.21 MB / 1.545 GB, free: 3.398 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008239/0.5072, allocations: 39.69 kB / 1.545 GB, free: 3.359 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.5083, allocations: 429.2 kB / 1.545 GB, free: 2.938 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.5103, allocations: 0.9605 MB / 1.546 GB, free: 1.973 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.5119, allocations: 0.7426 MB / 1.547 GB, free: 1.234 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.5137, allocations: 1.524 MB / 1.548 GB, free: 15.7 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007381/0.5144, allocations: 0.4951 MB / 1.549 GB, free: 15.2 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003751/0.5182, allocations: 1.927 MB / 1.551 GB, free: 13.26 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.5194, allocations: 0.5304 MB / 1.551 GB, free: 12.73 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 8.595e-05/0.5195, allocations: 52 kB / 1.551 GB, free: 12.68 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.521, allocations: 0.9082 MB / 1.552 GB, free: 11.77 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.5213, allocations: 287.1 kB / 1.553 GB, free: 11.49 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.5216, allocations: 386 kB / 1.553 GB, free: 11.11 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.5231, allocations: 1.179 MB / 1.554 GB, free: 9.93 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5232, allocations: 4 kB / 1.554 GB, free: 9.926 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5232, allocations: 0 / 1.554 GB, free: 9.926 MB / 1.248 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.5232, allocations: 0 / 1.554 GB, free: 9.926 MB / 1.248 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.001387/0.5246, allocations: 0.9983 MB / 1.555 GB, free: 8.891 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5246, allocations: 12.03 kB / 1.555 GB, free: 8.879 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.258e-05/0.5246, allocations: 17.31 kB / 1.555 GB, free: 8.863 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.5247, allocations: 102.5 kB / 1.555 GB, free: 8.754 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.5256, allocations: 199.3 kB / 1.555 GB, free: 8.559 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.5264, allocations: 491.8 kB / 1.556 GB, free: 8.047 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.5264, allocations: 45.31 kB / 1.556 GB, free: 8.004 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.5265, allocations: 60 kB / 1.556 GB, free: 7.945 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5276, allocations: 0.775 MB / 1.557 GB, free: 7.062 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5276, allocations: 15.81 kB / 1.557 GB, free: 7.047 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.5277, allocations: 24 kB / 1.557 GB, free: 7.023 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.5277, allocations: 25 kB / 1.557 GB, free: 7 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/0.5286, allocations: 459.3 kB / 1.557 GB, free: 6.551 MB / 1.248 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.003816/0.5324, allocations: 4.403 MB / 1.561 GB, free: 1.91 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.5325, allocations: 106.4 kB / 1.562 GB, free: 1.77 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.5326, allocations: 71.44 kB / 1.562 GB, free: 1.688 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.5327, allocations: 19.98 kB / 1.562 GB, free: 1.668 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.5328, allocations: 42.56 kB / 1.562 GB, free: 1.617 MB / 1.248 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.5328, allocations: 0 / 1.562 GB, free: 1.617 MB / 1.248 GB Notification: Performance of matching and sorting (n=10): time 0.000614/0.5334, allocations: 248.9 kB / 1.562 GB, free: 1.367 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.5335, allocations: 132.5 kB / 1.562 GB, free: 1.207 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.5345, allocations: 0.8527 MB / 1.563 GB, free: 352 kB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.5345, allocations: 25.7 kB / 1.563 GB, free: 320 kB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.5349, allocations: 411.9 kB / 1.563 GB, free: 15.9 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.5349, allocations: 39.69 kB / 1.563 GB, free: 15.86 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.535, allocations: 89.97 kB / 1.563 GB, free: 15.77 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5352, allocations: 322 kB / 1.564 GB, free: 15.45 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.5354, allocations: 112.6 kB / 1.564 GB, free: 15.34 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.5359, allocations: 369.7 kB / 1.564 GB, free: 14.86 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.5364, allocations: 433.6 kB / 1.565 GB, free: 14.33 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5364, allocations: 8 kB / 1.565 GB, free: 14.32 MB / 1.264 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008899/0.5373, allocations: 0.4971 MB / 1.565 GB, free: 13.82 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5373, allocations: 11.98 kB / 1.565 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5374, allocations: 8 kB / 1.565 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5374, allocations: 8 kB / 1.565 GB, free: 13.79 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.5377, allocations: 100.5 kB / 1.565 GB, free: 13.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.5377, allocations: 15.94 kB / 1.565 GB, free: 13.68 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.5383, allocations: 115 kB / 1.565 GB, free: 13.57 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.5383, allocations: 28 kB / 1.565 GB, free: 13.54 MB / 1.264 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.5386, allocations: 225.6 kB / 1.566 GB, free: 13.31 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.5387, allocations: 83.52 kB / 1.566 GB, free: 13.23 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.5388, allocations: 78.2 kB / 1.566 GB, free: 13.15 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5388, allocations: 0 / 1.566 GB, free: 13.15 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5388, allocations: 7.938 kB / 1.566 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5388, allocations: 3.984 kB / 1.566 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.5401, allocations: 1.085 MB / 1.567 GB, free: 11.97 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5401, allocations: 4.062 kB / 1.567 GB, free: 11.96 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.5402, allocations: 23.92 kB / 1.567 GB, free: 11.94 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5402, allocations: 4 kB / 1.567 GB, free: 11.94 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5402, allocations: 4 kB / 1.567 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5402, allocations: 4 kB / 1.567 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5402, allocations: 4 kB / 1.567 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.5405, allocations: 264.2 kB / 1.567 GB, free: 11.62 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.5407, allocations: 107.3 kB / 1.567 GB, free: 11.52 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.5408, allocations: 11.98 kB / 1.567 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.5411, allocations: 15.98 kB / 1.567 GB, free: 11.49 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.5411, allocations: 15.92 kB / 1.567 GB, free: 11.47 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.5411, allocations: 4 kB / 1.567 GB, free: 11.47 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007749/0.5419, allocations: 0.5888 MB / 1.568 GB, free: 10.89 MB / 1.264 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5419, allocations: 0 / 1.568 GB, free: 10.89 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0005354/0.5424, allocations: 155.8 kB / 1.568 GB, free: 10.73 MB / 1.264 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.0008494/0.5432, allocations: 0.8778 MB / 1.569 GB, free: 9.809 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0005062/0.5438, allocations: 233.2 kB / 1.569 GB, free: 9.582 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5438, allocations: 0 / 1.569 GB, free: 9.582 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.5438, allocations: 43.86 kB / 1.569 GB, free: 9.539 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.5454, allocations: 394.9 kB / 1.569 GB, free: 9.156 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006924/0.5523, allocations: 5.463 MB / 1.575 GB, free: 3.34 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.5528, allocations: 0.9447 MB / 1.576 GB, free: 2.367 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004587/0.5533, allocations: 142.1 kB / 1.576 GB, free: 2.227 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.5536, allocations: 227.4 kB / 1.576 GB, free: 2.004 MB / 1.264 GB Notification: Performance of SimCode: time 7.71e-07/0.5536, allocations: 4 kB / 1.576 GB, free: 2 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.5977, allocations: 18.42 MB / 1.594 GB, free: 15.91 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.8, allocations: 11.06 kB / 1.594 GB, free: 15.9 MB / 1.295 GB " [Timeout remaining time 288] (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 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.991693908988964]