Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00123/0.00123, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001309/0.001309, allocations: 214.4 kB / 23.04 MB, free: 5.078 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.321/1.321, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.857/2.857, allocations: 0.49 GB / 0.7959 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_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.001852/0.001852, allocations: 62.53 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2891, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2017/0.4908, allocations: 191.1 MB / 1.513 GB, free: 2.184 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.5064, allocations: 13.21 MB / 1.526 GB, free: 4.941 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009398/0.5074, allocations: 43.62 kB / 1.526 GB, free: 4.898 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.5087, allocations: 425.2 kB / 1.527 GB, free: 4.48 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.5111, allocations: 0.9644 MB / 1.528 GB, free: 3.512 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.5129, allocations: 0.7441 MB / 1.528 GB, free: 2.773 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.5151, allocations: 1.524 MB / 1.53 GB, free: 1.246 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.5162, allocations: 0.499 MB / 1.53 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004738/0.5209, allocations: 1.934 MB / 1.532 GB, free: 14.79 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.5223, allocations: 0.5195 MB / 1.533 GB, free: 14.27 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.5225, allocations: 56 kB / 1.533 GB, free: 14.21 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.5241, allocations: 0.9081 MB / 1.534 GB, free: 13.3 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.5244, allocations: 279.2 kB / 1.534 GB, free: 13.03 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.5248, allocations: 390 kB / 1.534 GB, free: 12.65 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.5265, allocations: 1.179 MB / 1.535 GB, free: 11.46 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.5265, allocations: 4 kB / 1.535 GB, free: 11.46 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5265, allocations: 4 kB / 1.535 GB, free: 11.46 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.5265, allocations: 0 / 1.535 GB, free: 11.46 MB / 1.232 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.001419/0.5279, allocations: 0.9944 MB / 1.536 GB, free: 10.43 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5279, allocations: 8.031 kB / 1.536 GB, free: 10.42 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.885e-05/0.528, allocations: 37.22 kB / 1.536 GB, free: 10.38 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.5281, allocations: 102.5 kB / 1.537 GB, free: 10.27 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008783/0.529, allocations: 187.3 kB / 1.537 GB, free: 10.09 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000819/0.5298, allocations: 499.8 kB / 1.537 GB, free: 9.578 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.5298, allocations: 41.31 kB / 1.537 GB, free: 9.539 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.5299, allocations: 63.94 kB / 1.537 GB, free: 9.477 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.531, allocations: 0.775 MB / 1.538 GB, free: 8.594 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.531, allocations: 7.875 kB / 1.538 GB, free: 8.586 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.5311, allocations: 24 kB / 1.538 GB, free: 8.562 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.5311, allocations: 28.98 kB / 1.538 GB, free: 8.535 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000868/0.532, allocations: 455.3 kB / 1.539 GB, free: 8.09 MB / 1.232 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.003894/0.5359, allocations: 4.407 MB / 1.543 GB, free: 3.441 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.536, allocations: 94.36 kB / 1.543 GB, free: 3.312 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.5361, allocations: 83.58 kB / 1.543 GB, free: 3.219 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.5362, allocations: 12 kB / 1.543 GB, free: 3.207 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.5363, allocations: 42.48 kB / 1.543 GB, free: 3.156 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.5363, allocations: 4 kB / 1.543 GB, free: 3.152 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0006238/0.5369, allocations: 245.3 kB / 1.543 GB, free: 2.906 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.537, allocations: 136.5 kB / 1.543 GB, free: 2.742 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.538, allocations: 0.845 MB / 1.544 GB, free: 1.891 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.5381, allocations: 29.7 kB / 1.544 GB, free: 1.855 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.5384, allocations: 411.6 kB / 1.545 GB, free: 1.449 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.5384, allocations: 47.61 kB / 1.545 GB, free: 1.402 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.5386, allocations: 85.98 kB / 1.545 GB, free: 1.312 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5387, allocations: 326 kB / 1.545 GB, free: 0.9883 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.5389, allocations: 108.7 kB / 1.545 GB, free: 0.8828 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.5394, allocations: 369.7 kB / 1.546 GB, free: 416 kB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.54, allocations: 437.5 kB / 1.546 GB, free: 15.87 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.54, allocations: 4 kB / 1.546 GB, free: 15.87 MB / 1.248 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008897/0.5409, allocations: 0.4929 MB / 1.546 GB, free: 15.37 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5409, allocations: 13.41 kB / 1.546 GB, free: 15.36 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.5409, allocations: 8 kB / 1.546 GB, free: 15.35 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5409, allocations: 8 kB / 1.546 GB, free: 15.34 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.5412, allocations: 96.33 kB / 1.547 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.5413, allocations: 23.92 kB / 1.547 GB, free: 15.22 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.5418, allocations: 115.2 kB / 1.547 GB, free: 15.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.5419, allocations: 20.12 kB / 1.547 GB, free: 15.09 MB / 1.248 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.0002528/0.5421, allocations: 237.6 kB / 1.547 GB, free: 14.85 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.5423, allocations: 87.42 kB / 1.547 GB, free: 14.76 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.5424, allocations: 70.27 kB / 1.547 GB, free: 14.69 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5424, allocations: 0 / 1.547 GB, free: 14.69 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5424, allocations: 0 / 1.547 GB, free: 14.69 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5424, allocations: 7.938 kB / 1.547 GB, free: 14.68 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.5437, allocations: 1.088 MB / 1.548 GB, free: 13.51 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5437, allocations: 4 kB / 1.548 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.5438, allocations: 20.25 kB / 1.548 GB, free: 13.48 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5438, allocations: 8 kB / 1.548 GB, free: 13.48 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5438, allocations: 0 / 1.548 GB, free: 13.48 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.5438, allocations: 7.984 kB / 1.548 GB, free: 13.47 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5438, allocations: 4 kB / 1.548 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.5441, allocations: 264.2 kB / 1.548 GB, free: 13.16 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.5443, allocations: 103.4 kB / 1.549 GB, free: 13.06 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/0.5443, allocations: 4 kB / 1.549 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.5447, allocations: 19.98 kB / 1.549 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.5447, allocations: 15.92 kB / 1.549 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.5447, allocations: 4 kB / 1.549 GB, free: 13.02 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008109/0.5455, allocations: 0.5927 MB / 1.549 GB, free: 12.43 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.5455, allocations: 96 / 1.549 GB, free: 12.43 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005187/0.546, allocations: 159.7 kB / 1.549 GB, free: 12.27 MB / 1.248 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.0008607/0.5469, allocations: 0.8683 MB / 1.55 GB, free: 11.35 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005004/0.5474, allocations: 241.3 kB / 1.55 GB, free: 11.12 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.5474, allocations: 4.125 kB / 1.55 GB, free: 11.11 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.5474, allocations: 43.92 kB / 1.55 GB, free: 11.07 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.549, allocations: 383.4 kB / 1.551 GB, free: 10.7 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.556, allocations: 5.478 MB / 1.556 GB, free: 4.867 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.5565, allocations: 0.9409 MB / 1.557 GB, free: 3.898 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004369/0.5569, allocations: 150.1 kB / 1.557 GB, free: 3.75 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.5572, allocations: 231.4 kB / 1.557 GB, free: 3.523 MB / 1.248 GB Notification: Performance of SimCode: time 6.01e-07/0.5572, allocations: 0 / 1.557 GB, free: 3.523 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.044/0.6012, allocations: 18.42 MB / 1.575 GB, free: 1.477 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.03, allocations: 10.06 kB / 1.575 GB, free: 1.469 MB / 1.264 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.07202005101135]