Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.00137/0.00137, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001445/0.001445, allocations: 219.1 kB / 23.03 MB, free: 4.949 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.8 MB / 0.7715 GB, free: 3.953 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001973/0.001973, allocations: 66.7 kB / 1.118 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3731, allocations: 169.9 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2514/0.6245, allocations: 165.5 MB / 1.446 GB, free: 4.629 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02588/0.6504, allocations: 12.01 MB / 1.457 GB, free: 8.59 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.6523, allocations: 47.56 kB / 1.457 GB, free: 8.543 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.6545, allocations: 429.1 kB / 1.458 GB, free: 8.121 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.6595, allocations: 1.213 MB / 1.459 GB, free: 6.902 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.6625, allocations: 0.7278 MB / 1.46 GB, free: 6.18 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004663/0.6672, allocations: 2.059 MB / 1.462 GB, free: 4.117 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.669, allocations: 0.6255 MB / 1.462 GB, free: 3.469 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006637/0.6756, allocations: 1.86 MB / 1.464 GB, free: 1.602 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/0.6783, allocations: 0.721 MB / 1.465 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004957/0.6788, allocations: 83.94 kB / 1.465 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.6818, allocations: 0.7365 MB / 1.466 GB, free: 64 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.6829, allocations: 403 kB / 1.466 GB, free: 15.66 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.6842, allocations: 414.1 kB / 1.467 GB, free: 15.26 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004193/0.6884, allocations: 1.487 MB / 1.468 GB, free: 13.77 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.6884, allocations: 3.938 kB / 1.468 GB, free: 13.77 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.033e-06/0.6884, allocations: 0 / 1.468 GB, free: 13.77 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.447e-05/0.6885, allocations: 0 / 1.468 GB, free: 13.77 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003572/0.692, allocations: 1.19 MB / 1.469 GB, free: 12.54 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.6921, allocations: 8.031 kB / 1.469 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.767e-05/0.6921, allocations: 22 kB / 1.469 GB, free: 12.51 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.6924, allocations: 122.5 kB / 1.469 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.6945, allocations: 231.2 kB / 1.469 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.6964, allocations: 0.6077 MB / 1.47 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.6965, allocations: 58 kB / 1.47 GB, free: 11.46 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.6967, allocations: 75.95 kB / 1.47 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.6992, allocations: 1.066 MB / 1.471 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.6993, allocations: 3.938 kB / 1.471 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.6994, allocations: 32 kB / 1.471 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/0.6994, allocations: 29.31 kB / 1.471 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.7011, allocations: 0.6216 MB / 1.472 GB, free: 9.527 MB / 1.17 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.007191/0.7083, allocations: 3.734 MB / 1.476 GB, free: 5.652 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.7095, allocations: 460.8 kB / 1.476 GB, free: 5.176 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.7101, allocations: 226.5 kB / 1.476 GB, free: 4.945 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.7103, allocations: 31.97 kB / 1.476 GB, free: 4.914 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.7104, allocations: 46.44 kB / 1.476 GB, free: 4.859 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 6.101e-06/0.7104, allocations: 7.922 kB / 1.476 GB, free: 4.852 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.004725/0.7151, allocations: 1.545 MB / 1.478 GB, free: 3.27 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.7152, allocations: 110.8 kB / 1.478 GB, free: 3.137 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.7168, allocations: 0.7116 MB / 1.479 GB, free: 2.41 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.65e-05/0.7169, allocations: 37.95 kB / 1.479 GB, free: 2.367 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000572/0.7175, allocations: 424.6 kB / 1.479 GB, free: 1.949 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.7178, allocations: 170.5 kB / 1.479 GB, free: 1.781 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.7181, allocations: 122.3 kB / 1.479 GB, free: 1.656 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.7183, allocations: 326 kB / 1.48 GB, free: 1.332 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.7188, allocations: 189.2 kB / 1.48 GB, free: 1.145 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.7198, allocations: 0.5544 MB / 1.48 GB, free: 472 kB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003675/0.7235, allocations: 1.104 MB / 1.481 GB, free: 15.27 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.7235, allocations: 4 kB / 1.481 GB, free: 15.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001971/0.7255, allocations: 0.68 MB / 1.482 GB, free: 14.58 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.7255, allocations: 8 kB / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.7255, allocations: 7.938 kB / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.502e-05/0.7256, allocations: 12 kB / 1.482 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.7263, allocations: 119.8 kB / 1.482 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-05/0.7264, allocations: 19.92 kB / 1.482 GB, free: 14.42 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009954/0.7274, allocations: 28.45 kB / 1.482 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/0.7275, allocations: 24 kB / 1.482 GB, free: 14.37 MB / 1.186 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0006967/0.7282, allocations: 273.6 kB / 1.483 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.7285, allocations: 87.42 kB / 1.483 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.7288, allocations: 91.66 kB / 1.483 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.7288, allocations: 4 kB / 1.483 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.7288, allocations: 0 / 1.483 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/0.73, allocations: 0.7027 MB / 1.483 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.7339, allocations: 1.522 MB / 1.485 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.7339, allocations: 7.938 kB / 1.485 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.7346, allocations: 100.5 kB / 1.485 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/0.7346, allocations: 12 kB / 1.485 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.7347, allocations: 16 kB / 1.485 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.942e-05/0.7347, allocations: 11.92 kB / 1.485 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/0.7347, allocations: 7.938 kB / 1.485 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.7366, allocations: 0.8653 MB / 1.486 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/0.7371, allocations: 135.4 kB / 1.486 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.7374, allocations: 15.98 kB / 1.486 GB, free: 10.26 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007733/0.7381, allocations: 16 kB / 1.486 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.7383, allocations: 47.91 kB / 1.486 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/0.7383, allocations: 20 kB / 1.486 GB, free: 10.18 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001144/0.7395, allocations: 0.5068 MB / 1.487 GB, free: 9.676 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.7395, allocations: 0 / 1.487 GB, free: 9.676 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001249/0.7407, allocations: 203.9 kB / 1.487 GB, free: 9.477 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.002737/0.7434, allocations: 1.498 MB / 1.488 GB, free: 7.914 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.7448, allocations: 464.1 kB / 1.489 GB, free: 7.461 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.7448, allocations: 5.562 kB / 1.489 GB, free: 7.457 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.7453, allocations: 204.5 kB / 1.489 GB, free: 7.258 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/0.7488, allocations: 481 kB / 1.489 GB, free: 6.797 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.7647, allocations: 6.634 MB / 1.496 GB, free: 15.76 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009088/0.7656, allocations: 444.9 kB / 1.496 GB, free: 15.3 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001102/0.7667, allocations: 199 kB / 1.496 GB, free: 15.1 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007608/0.7674, allocations: 295.3 kB / 1.497 GB, free: 14.81 MB / 1.201 GB Notification: Performance of SimCode: time 3.146e-06/0.7674, allocations: 0 / 1.497 GB, free: 14.81 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07566/0.8431, allocations: 24.3 MB / 1.521 GB, free: 7.188 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.19, allocations: 7.156 kB / 1.521 GB, free: 7.184 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: 21.260429883026518]