Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001371/0.001371, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001475/0.001475, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9311/0.9311, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.463e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6084/0.6084, allocations: 165.3 MB / 1.112 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.619, allocations: 11.94 MB / 1.124 GB, free: 27.04 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.6202, allocations: 38.84 kB / 1.124 GB, free: 27.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.6214, allocations: 418.7 kB / 1.124 GB, free: 26.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.6233, allocations: 0.9974 MB / 1.125 GB, free: 26.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.625, allocations: 0.77 MB / 1.126 GB, free: 25.82 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.627, allocations: 1.523 MB / 1.127 GB, free: 25.12 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007521/0.6277, allocations: 496.5 kB / 1.128 GB, free: 24.88 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.6313, allocations: 1.936 MB / 1.13 GB, free: 24.01 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.6325, allocations: 471.1 kB / 1.13 GB, free: 23.87 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.6326, allocations: 53.12 kB / 1.13 GB, free: 23.87 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.634, allocations: 0.735 MB / 1.131 GB, free: 23.64 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.6343, allocations: 299.3 kB / 1.131 GB, free: 23.51 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.6346, allocations: 264.3 kB / 1.131 GB, free: 23.4 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.6363, allocations: 1.176 MB / 1.133 GB, free: 22.99 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6363, allocations: 0.75 kB / 1.133 GB, free: 22.99 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6363, allocations: 0 / 1.133 GB, free: 22.99 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.6363, allocations: 1.125 kB / 1.133 GB, free: 22.99 MB / 0.9948 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.001376/0.6377, allocations: 0.9978 MB / 1.133 GB, free: 22.28 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.6378, allocations: 9.406 kB / 1.133 GB, free: 22.28 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.265e-05/0.6378, allocations: 100.2 kB / 1.134 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.6385, allocations: 197.5 kB / 1.134 GB, free: 22.14 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.6392, allocations: 497.5 kB / 1.134 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.6393, allocations: 41.12 kB / 1.134 GB, free: 21.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.6393, allocations: 62.41 kB / 1.134 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.6402, allocations: 0.7979 MB / 1.135 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.6402, allocations: 6.5 kB / 1.135 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.6402, allocations: 27.84 kB / 1.135 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.6402, allocations: 22.52 kB / 1.135 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.6409, allocations: 464.9 kB / 1.136 GB, free: 21.07 MB / 0.9948 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.002232/0.6431, allocations: 4.005 MB / 1.14 GB, free: 17.63 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.6432, allocations: 96.31 kB / 1.14 GB, free: 17.52 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.6433, allocations: 72.69 kB / 1.14 GB, free: 17.48 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.6434, allocations: 15.95 kB / 1.14 GB, free: 17.48 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.6434, allocations: 52.83 kB / 1.14 GB, free: 17.42 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.6434, allocations: 0 / 1.14 GB, free: 17.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0004522/0.6439, allocations: 244.6 kB / 1.14 GB, free: 17.31 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.6439, allocations: 131.6 kB / 1.14 GB, free: 17.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008353/0.6447, allocations: 0.8554 MB / 1.141 GB, free: 16.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.6447, allocations: 32.36 kB / 1.141 GB, free: 16.77 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.6449, allocations: 403.7 kB / 1.141 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.645, allocations: 42.84 kB / 1.141 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.6451, allocations: 87.44 kB / 1.141 GB, free: 16.36 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.6451, allocations: 331.5 kB / 1.142 GB, free: 16.04 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.6453, allocations: 110.8 kB / 1.142 GB, free: 16.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.6455, allocations: 0.5096 MB / 1.142 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.6459, allocations: 440.1 kB / 1.143 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6459, allocations: 2.344 kB / 1.143 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005967/0.6465, allocations: 0.496 MB / 1.143 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6465, allocations: 9 kB / 1.143 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.6465, allocations: 9.156 kB / 1.143 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.6465, allocations: 9.375 kB / 1.143 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.6467, allocations: 100.9 kB / 1.143 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.6467, allocations: 19.42 kB / 1.143 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.6471, allocations: 121.2 kB / 1.144 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.6472, allocations: 21.2 kB / 1.144 GB, free: 14.81 MB / 0.9948 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.0001968/0.6474, allocations: 234.6 kB / 1.144 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/0.6475, allocations: 76.23 kB / 1.144 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.223e-05/0.6476, allocations: 69.81 kB / 1.144 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6476, allocations: 6.125 kB / 1.144 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6476, allocations: 1.094 kB / 1.144 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6476, allocations: 1.875 kB / 1.144 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/0.6485, allocations: 1.047 MB / 1.145 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6485, allocations: 2.5 kB / 1.145 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.6486, allocations: 16.45 kB / 1.145 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.6486, allocations: 7.875 kB / 1.145 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.6486, allocations: 7 kB / 1.145 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.6486, allocations: 3.547 kB / 1.145 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6486, allocations: 6.625 kB / 1.145 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.6488, allocations: 269.1 kB / 1.145 GB, free: 13.53 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.6489, allocations: 94.11 kB / 1.145 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.649, allocations: 9.641 kB / 1.145 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.6491, allocations: 15.31 kB / 1.145 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.6492, allocations: 12.98 kB / 1.145 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.6492, allocations: 9.328 kB / 1.145 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005829/0.6498, allocations: 0.5859 MB / 1.146 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6498, allocations: 1.094 kB / 1.146 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004693/0.6502, allocations: 161.5 kB / 1.146 GB, free: 13.2 MB / 0.9948 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.0005774/0.6508, allocations: 0.8756 MB / 1.147 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.6512, allocations: 234.3 kB / 1.147 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6512, allocations: 4.312 kB / 1.147 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.6512, allocations: 46.83 kB / 1.147 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6523, allocations: 378.2 kB / 1.148 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/0.6578, allocations: 5.453 MB / 1.153 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.6581, allocations: 348.6 kB / 1.153 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004859/0.6586, allocations: 155.6 kB / 1.153 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.6588, allocations: 232.5 kB / 1.154 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of SimCode: time 1.173e-06/0.6588, allocations: 4 kB / 1.154 GB, free: 8.773 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.6968, allocations: 20.11 MB / 1.173 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/8.116, allocations: 3.75 kB / 1.173 GB, free: 4.836 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable const.k in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv. Warning: Get data of variable const.k from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.353527543134987]